Commit 66df3bbf authored by Al Viro's avatar Al Viro Committed by Linus Torvalds

[PATCH] volatile unsigned short f(...) doesn't make sense

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent c215a16a
...@@ -218,7 +218,7 @@ void bmwrite(struct net_device *dev, unsigned long reg_offset, unsigned data ) ...@@ -218,7 +218,7 @@ void bmwrite(struct net_device *dev, unsigned long reg_offset, unsigned data )
static inline 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); return in_le16((void __iomem *)dev->base_addr + reg_offset);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment