Skip to content

Commit

Permalink
tg3: use <linux/io.h> and <linux/uaccess.h> instead <asm/io.h> and <a…
Browse files Browse the repository at this point in the history
…sm/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>
  • Loading branch information
Javier Martinez Canillas authored and David S. Miller committed Mar 28, 2011
1 parent 3e49e6d commit 27fd9de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/tg3.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 27fd9de

Please sign in to comment.