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/105-ar2315_pci.patch | |
parent | 90ca9a582dcbdc6dd4f8f7f6ab015c0fe99ce1e8 (diff) | |
download | mtk-20170518-66c64834f84c8b498cf55e1d1fc2b0fb14fefdab.zip mtk-20170518-66c64834f84c8b498cf55e1d1fc2b0fb14fefdab.tar.gz mtk-20170518-66c64834f84c8b498cf55e1d1fc2b0fb14fefdab.tar.bz2 |
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/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 3e51848..af4bb88 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> |