mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
[PATCH] __iomem annotations: smc91x
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
a80958f484
commit
fbd8197665
1 changed files with 2 additions and 2 deletions
|
@ -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. \
|
||||
|
|
Loading…
Reference in a new issue