[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>
This commit is contained in:
parent
c215a16a4a
commit
66df3bbf07
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user