[ARM] 5454/1: ep93xx_eth: fix sparse warnings
authorHartley Sweeten <hartleys@visionengravers.com>
Thu, 16 Apr 2009 16:56:10 +0000 (17:56 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 16 Apr 2009 17:11:02 +0000 (18:11 +0100)
Fix 50+ sparse warnings in the ep93xx ethernet driver.

  warning: incorrect type in argument 1 (different address spaces)

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/net/arm/ep93xx_eth.c

index cc77087..c140c9b 100644 (file)
@@ -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;