Commit fdca9bf2 authored by Ben Dooks's avatar Ben Dooks

[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: default avatarBen Dooks <ben-linux@fluff.org>
parent 3782d360
...@@ -207,7 +207,7 @@ static struct irq_chip s3c_irq_uart = { ...@@ -207,7 +207,7 @@ static struct irq_chip s3c_irq_uart = {
static void __init s3c64xx_uart_irq(struct uart_irq *uirq) static void __init s3c64xx_uart_irq(struct uart_irq *uirq)
{ {
void *reg_base = uirq->regs; void __iomem *reg_base = uirq->regs;
unsigned int irq; unsigned int irq;
int offs; int offs;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment