summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/irq.c
diff options
context:
space:
mode:
authorEric Miao <eric.y.miao@gmail.com>2011-04-27 22:48:04 +0800
committerEric Miao <eric.y.miao@gmail.com>2011-07-12 19:45:21 +0800
commit5d284e353eb11ab2e8b1c5671ba06489b0bd1e0c (patch)
tree4c8edb89d7d977e39415df3a06b1af88012bb053 /arch/arm/mach-pxa/irq.c
parent9c86441081e84c9fb9fac3929c6e7d3e6f4dd891 (diff)
downloadlinux-5d284e353eb11ab2e8b1c5671ba06489b0bd1e0c.tar.gz
linux-5d284e353eb11ab2e8b1c5671ba06489b0bd1e0c.tar.bz2
linux-5d284e353eb11ab2e8b1c5671ba06489b0bd1e0c.zip
ARM: pxa: avoid accessing interrupt registers directly
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/irq.c')
-rw-r--r--arch/arm/mach-pxa/irq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/irq.c b/arch/arm/mach-pxa/irq.c
index 32ed551bf9c5..c89c0e40fe32 100644
--- a/arch/arm/mach-pxa/irq.c
+++ b/arch/arm/mach-pxa/irq.c
@@ -64,7 +64,7 @@ static inline void __iomem *irq_base(int i)
return (void __iomem *)io_p2v(phys_base[i]);
}
-static void pxa_mask_irq(struct irq_data *d)
+void pxa_mask_irq(struct irq_data *d)
{
void __iomem *base = irq_data_get_irq_chip_data(d);
uint32_t icmr = __raw_readl(base + ICMR);
@@ -73,7 +73,7 @@ static void pxa_mask_irq(struct irq_data *d)
__raw_writel(icmr, base + ICMR);
}
-static void pxa_unmask_irq(struct irq_data *d)
+void pxa_unmask_irq(struct irq_data *d)
{
void __iomem *base = irq_data_get_irq_chip_data(d);
uint32_t icmr = __raw_readl(base + ICMR);