瀏覽代碼

tg3: use <linux/io.h> and <linux/uaccess.h> instead <asm/io.h> and <asm/uaccess.h>

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>
Javier Martinez Canillas 14 年之前
父節點
當前提交
27fd9de8eb
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      drivers/net/tg3.c

+ 2 - 2
drivers/net/tg3.c

@@ -48,9 +48,9 @@
 #include <net/ip.h>
 #include <net/ip.h>
 
 
 #include <asm/system.h>
 #include <asm/system.h>
-#include <asm/io.h>
+#include <linux/io.h>
 #include <asm/byteorder.h>
 #include <asm/byteorder.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 
 
 #ifdef CONFIG_SPARC
 #ifdef CONFIG_SPARC
 #include <asm/idprom.h>
 #include <asm/idprom.h>