diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2005-09-29 23:19:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-30 11:42:24 -0400 |
commit | 66df3bbf0701b7408a1067c4b819aceee2686bba (patch) | |
tree | 4823f28eaad12058917d2ef948175b6afd7b1c67 /drivers/net/bmac.c | |
parent | c215a16a4ad620b612b51495cbb99dbbb59bb585 (diff) |
[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>
Diffstat (limited to 'drivers/net/bmac.c')
-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 8dc657fc8afb..60dba4a1ca5c 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 ) | |||
218 | 218 | ||
219 | 219 | ||
220 | static inline | 220 | static inline |
221 | volatile unsigned short bmread(struct net_device *dev, unsigned long reg_offset ) | 221 | unsigned short bmread(struct net_device *dev, unsigned long reg_offset ) |
222 | { | 222 | { |
223 | return in_le16((void __iomem *)dev->base_addr + reg_offset); | 223 | return in_le16((void __iomem *)dev->base_addr + reg_offset); |
224 | } | 224 | } |