projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.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
|
blame
|
history
diff --git
a/drivers/net/bmac.c
b/drivers/net/bmac.c
index 8dc657fc8afb37f18623efb160e58b216a615520..60dba4a1ca5ce8d57081088c22d16eeb7a2ee8f6 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);
}