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 | 3b68214e570417f35093426576bddfd7425dac1c (patch) | |
tree | 8247160ac24e2b5585503bcc8cf79f226b0e62f2 /target/linux/atheros/patches-3.10/110-ar2313_ethernet.patch | |
parent | d5ce5c199b62e4a990ff4b2ae6a9c2c67afca3c3 (diff) | |
download | master-187ad058-3b68214e570417f35093426576bddfd7425dac1c.tar.gz master-187ad058-3b68214e570417f35093426576bddfd7425dac1c.tar.bz2 master-187ad058-3b68214e570417f35093426576bddfd7425dac1c.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41089 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 */ |