diff options
author | Eric Miao <eric.y.miao@gmail.com> | 2011-04-27 22:48:04 +0800 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2011-07-12 19:45:21 +0800 |
commit | 5d284e353eb11ab2e8b1c5671ba06489b0bd1e0c (patch) | |
tree | 4c8edb89d7d977e39415df3a06b1af88012bb053 /arch/arm/mach-pxa/irq.c | |
parent | 9c86441081e84c9fb9fac3929c6e7d3e6f4dd891 (diff) | |
download | op-kernel-dev-5d284e353eb11ab2e8b1c5671ba06489b0bd1e0c.zip op-kernel-dev-5d284e353eb11ab2e8b1c5671ba06489b0bd1e0c.tar.gz |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/irq.c b/arch/arm/mach-pxa/irq.c index 32ed551..c89c0e4 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); |