]> err.no Git - linux-2.6/commitdiff
[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 a8640169fc77afede8c7f28376ccc8967b214668..9e0fbc59114f50abdc84e904362f0d30290144a9 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.        \