提交 66df3bbf 编写于 作者: A Al Viro 提交者: Linus Torvalds

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

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册