From: Hartley Sweeten Date: Thu, 16 Apr 2009 16:56:10 +0000 (+0100) Subject: [ARM] 5454/1: ep93xx_eth: fix sparse warnings X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5e075cb5cee4faecc82e2b8a04e640176629976e;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [ARM] 5454/1: ep93xx_eth: fix sparse warnings Fix 50+ sparse warnings in the ep93xx ethernet driver. warning: incorrect type in argument 1 (different address spaces) Signed-off-by: H Hartley Sweeten Signed-off-by: Russell King --- diff --git a/drivers/net/arm/ep93xx_eth.c b/drivers/net/arm/ep93xx_eth.c index cc7708775da0..c140c9bb767c 100644 --- a/drivers/net/arm/ep93xx_eth.c +++ b/drivers/net/arm/ep93xx_eth.c @@ -153,7 +153,7 @@ struct ep93xx_descs struct ep93xx_priv { struct resource *res; - void *base_addr; + void __iomem *base_addr; int irq; struct ep93xx_descs *descs;