diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2005-09-30 04:19:43 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-30 08:42:24 -0700 |
commit | 66df3bbf0701b7408a1067c4b819aceee2686bba (patch) | |
tree | 4823f28eaad12058917d2ef948175b6afd7b1c67 | |
parent | c215a16a4ad620b612b51495cbb99dbbb59bb585 (diff) | |
download | op-kernel-dev-66df3bbf0701b7408a1067c4b819aceee2686bba.zip op-kernel-dev-66df3bbf0701b7408a1067c4b819aceee2686bba.tar.gz |
[PATCH] volatile unsigned short f(...) doesn't make sense
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | drivers/net/bmac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bmac.c b/drivers/net/bmac.c index 8dc657f..60dba4a 100644 --- a/drivers/net/bmac.c +++ b/drivers/net/bmac.c @@ -218,7 +218,7 @@ void bmwrite(struct net_device *dev, unsigned long reg_offset, unsigned data ) static inline -volatile unsigned short bmread(struct net_device *dev, unsigned long reg_offset ) +unsigned short bmread(struct net_device *dev, unsigned long reg_offset ) { return in_le16((void __iomem *)dev->base_addr + reg_offset); } |