diff options
author | Ben Dooks <ben-linux@fluff.org> | 2009-02-27 14:29:23 +0300 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-02-27 14:29:23 +0300 |
commit | fdca9bf2dae14218704ddd7dc60ad1b198c1d787 (patch) | |
tree | 0eac63bd2909bc64d287e216e0455ba3593b0041 /arch/arm/plat-s3c64xx | |
parent | 3782d3605522b836f53c6d11f76abf5404425c1b (diff) | |
download | linux-fdca9bf2dae14218704ddd7dc60ad1b198c1d787.tar.xz |
[ARM] S3C64XX: sparse warnings in arch/arm/plat-s3c64xx/irq.c
Fix the following sparse warnings in arch/arm/plat-s3c64xx/irq.c
arch/arm/plat-s3c64xx/irq.c:210:23: warning: incorrect type in initializer (different address spaces)
arch/arm/plat-s3c64xx/irq.c:210:23: expected void *reg_base
arch/arm/plat-s3c64xx/irq.c:210:23: got void [noderef] <asn:2>*regs
arch/arm/plat-s3c64xx/irq.c:215:2: warning: incorrect type in argument 1 (different address spaces)
arch/arm/plat-s3c64xx/irq.c:215:2: expected void const volatile [noderef] <asn:2>*<noident>
arch/arm/plat-s3c64xx/irq.c:215:2: got void *
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s3c64xx')
-rw-r--r-- | arch/arm/plat-s3c64xx/irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-s3c64xx/irq.c b/arch/arm/plat-s3c64xx/irq.c index a94f1d5e819d..f22edf7c2d2d 100644 --- a/arch/arm/plat-s3c64xx/irq.c +++ b/arch/arm/plat-s3c64xx/irq.c @@ -207,7 +207,7 @@ static struct irq_chip s3c_irq_uart = { static void __init s3c64xx_uart_irq(struct uart_irq *uirq) { - void *reg_base = uirq->regs; + void __iomem *reg_base = uirq->regs; unsigned int irq; int offs; |