projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c215a16
)
[PATCH] volatile unsigned short f(...) doesn't make sense
author
Al Viro
<viro@ftp.linux.org.uk>
Fri, 30 Sep 2005 03:19:43 +0000
(
04:19
+0100)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Fri, 30 Sep 2005 15:42:24 +0000
(08:42 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/net/bmac.c
patch
|
blob
|
history
diff --git
a/drivers/net/bmac.c
b/drivers/net/bmac.c
index
8dc657f
..
60dba4a
100644
(file)
--- a/
drivers/net/bmac.c
+++ b/
drivers/net/bmac.c
@@
-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);
}