diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-06-10 09:05:58 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-06-10 09:05:58 +0000 |
commit | 66c64834f84c8b498cf55e1d1fc2b0fb14fefdab (patch) | |
tree | 50131d0934e256d4880d8890183ae7a7a0860ea0 /target/linux/atheros/patches-3.10/110-ar2313_ethernet.patch | |
parent | 90ca9a582dcbdc6dd4f8f7f6ab015c0fe99ce1e8 (diff) | |
download | upstream-66c64834f84c8b498cf55e1d1fc2b0fb14fefdab.tar.gz upstream-66c64834f84c8b498cf55e1d1fc2b0fb14fefdab.tar.bz2 upstream-66c64834f84c8b498cf55e1d1fc2b0fb14fefdab.zip |
atheros: fix includes
Remove some unnecessary includes and use <linux/foo.h> instead of
<asm/foo.h> when it possible as suggested by checkpatch.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41089
Diffstat (limited to 'target/linux/atheros/patches-3.10/110-ar2313_ethernet.patch')
-rw-r--r-- | target/linux/atheros/patches-3.10/110-ar2313_ethernet.patch | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/target/linux/atheros/patches-3.10/110-ar2313_ethernet.patch b/target/linux/atheros/patches-3.10/110-ar2313_ethernet.patch index 13ae8a4e27..156b9698d2 100644 --- a/target/linux/atheros/patches-3.10/110-ar2313_ethernet.patch +++ b/target/linux/atheros/patches-3.10/110-ar2313_ethernet.patch @@ -32,7 +32,7 @@ +obj-$(CONFIG_NET_VENDOR_AR231X) += ar231x.o --- /dev/null +++ b/drivers/net/ethernet/ar231x/ar231x.c -@@ -0,0 +1,1260 @@ +@@ -0,0 +1,1256 @@ +/* + * ar231x.c: Linux driver for the Atheros AR231x Ethernet device. + * @@ -75,16 +75,12 @@ +#include <linux/ethtool.h> +#include <linux/ctype.h> +#include <linux/platform_device.h> ++#include <linux/io.h> ++#include <linux/uaccess.h> + +#include <net/sock.h> +#include <net/ip.h> + -+#include <asm/io.h> -+#include <asm/irq.h> -+#include <asm/byteorder.h> -+#include <asm/uaccess.h> -+#include <asm/bootinfo.h> -+ +#define AR2313_MTU 1692 +#define AR2313_PRIOS 1 +#define AR2313_QUEUES (2*AR2313_PRIOS) @@ -1295,7 +1291,7 @@ + --- /dev/null +++ b/drivers/net/ethernet/ar231x/ar231x.h -@@ -0,0 +1,289 @@ +@@ -0,0 +1,288 @@ +/* + * ar231x.h: Linux driver for the Atheros AR231x Ethernet device. + * @@ -1318,7 +1314,6 @@ +#include <linux/interrupt.h> +#include <generated/autoconf.h> +#include <linux/bitops.h> -+#include <asm/bootinfo.h> +#include <ar231x_platform.h> + +/* probe link timer - 5 secs */ |