[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:
Родитель
c215a16a4a
Коммит
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);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче