Skip to content

Commit

Permalink
[PATCH] volatile unsigned short f(...) doesn't make sense
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Sep 30, 2005
1 parent c215a16 commit 66df3bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/bmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 66df3bb

Please sign in to comment.