From: Al Viro Date: Wed, 31 May 2006 03:58:25 +0000 (-0400) Subject: [PATCH] __iomem annotations: smc91x X-Git-Tag: v2.6.20-rc1~145^2^2~6^2~24^2~5 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbd819766568c6f3d286dbabb9a17bb13e48f40d;p=linux-2.6 [PATCH] __iomem annotations: smc91x Signed-off-by: Al Viro --- diff --git a/drivers/net/smc91x.h b/drivers/net/smc91x.h index a8640169fc..9e0fbc5911 100644 --- a/drivers/net/smc91x.h +++ b/drivers/net/smc91x.h @@ -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. \