summaryrefslogtreecommitdiffstats
path: root/drivers/net/smc91x.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-05-30 23:58:25 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2006-12-04 16:07:14 -0500
commitfbd819766568c6f3d286dbabb9a17bb13e48f40d (patch)
tree7d55571ed09185dd71f60c8110cfba06ee7c6957 /drivers/net/smc91x.h
parenta80958f4849316a18c06f75b9e850ccecbf20df8 (diff)
downloadop-kernel-dev-fbd819766568c6f3d286dbabb9a17bb13e48f40d.zip
op-kernel-dev-fbd819766568c6f3d286dbabb9a17bb13e48f40d.tar.gz
[PATCH] __iomem annotations: smc91x
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/net/smc91x.h')
-rw-r--r--drivers/net/smc91x.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/smc91x.h b/drivers/net/smc91x.h
index a864016..9e0fbc5 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. \
OpenPOWER on IntegriCloud