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/105-ar2315_pci.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/105-ar2315_pci.patch')
-rw-r--r-- | target/linux/atheros/patches-3.10/105-ar2315_pci.patch | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/target/linux/atheros/patches-3.10/105-ar2315_pci.patch b/target/linux/atheros/patches-3.10/105-ar2315_pci.patch index 3e5184803e..af4bb88867 100644 --- a/target/linux/atheros/patches-3.10/105-ar2315_pci.patch +++ b/target/linux/atheros/patches-3.10/105-ar2315_pci.patch @@ -7,7 +7,7 @@ +obj-$(CONFIG_ATHEROS_AR2315_PCI) += pci.o --- /dev/null +++ b/arch/mips/ar231x/pci.c -@@ -0,0 +1,230 @@ +@@ -0,0 +1,228 @@ +/* + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License @@ -32,10 +32,8 @@ +#include <linux/spinlock.h> +#include <linux/delay.h> +#include <linux/irq.h> -+#include <asm/bootinfo.h> ++#include <linux/io.h> +#include <asm/paccess.h> -+#include <asm/irq_cpu.h> -+#include <asm/io.h> +#include <ar231x_platform.h> +#include <ar231x.h> +#include <ar2315_regs.h> |