projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e49e6d
)
tg3: use <linux/io.h> and <linux/uaccess.h> instead <asm/io.h> and <asm/uaccess.h>
author
Javier Martinez Canillas
<martinez.javier@gmail.com>
Sat, 26 Mar 2011 16:42:31 +0000
(16:42 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 28 Mar 2011 06:35:05 +0000
(23:35 -0700)
It is proper style to include linux/foo.h instead asm/foo.h if both exist
Signed-off-by: Javier Martinez Canillas <martinez.javier@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/tg3.c
b/drivers/net/tg3.c
index ebec88882c3b07fdbfb37e312546b33431bf9b40..513565503f9090a5f0f23af4c1ee8faa89521106 100644
(file)
--- a/
drivers/net/tg3.c
+++ b/
drivers/net/tg3.c
@@
-48,9
+48,9
@@
#include <net/ip.h>
#include <asm/system.h>
-#include <
asm
/io.h>
+#include <
linux
/io.h>
#include <asm/byteorder.h>
-#include <
asm
/uaccess.h>
+#include <
linux
/uaccess.h>
#ifdef CONFIG_SPARC
#include <asm/idprom.h>