[PATCH] __iomem annotations: smc91x
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 31 May 2006 03:58:25 +0000 (23:58 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 4 Dec 2006 21:07:14 +0000 (16:07 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/net/smc91x.h

index a864016..9e0fbc5 100644 (file)
@@ -1216,7 +1216,7 @@ static const char * chip_ids[ 16 ] =  {
                if (SMC_CAN_USE_32BIT) {                                \
                        void *__ptr = (p);                              \
                        int __len = (l);                                \
-                       void *__ioaddr = ioaddr;                        \
+                       void __iomem *__ioaddr = ioaddr;                \
                        if (__len >= 2 && (unsigned long)__ptr & 2) {   \
                                __len -= 2;                             \
                                SMC_outw(*(u16 *)__ptr, ioaddr, DATA_REG); \
@@ -1240,7 +1240,7 @@ static const char * chip_ids[ 16 ] =  {
                if (SMC_CAN_USE_32BIT) {                                \
                        void *__ptr = (p);                              \
                        int __len = (l);                                \
-                       void *__ioaddr = ioaddr;                        \
+                       void __iomem *__ioaddr = ioaddr;                \
                        if ((unsigned long)__ptr & 2) {                 \
                                /*                                      \
                                 * We want 32bit alignment here.        \