summaryrefslogtreecommitdiff
path: root/target/linux/atheros/patches-3.10/100-board.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-06-10 09:05:58 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-06-10 09:05:58 +0000
commit66c64834f84c8b498cf55e1d1fc2b0fb14fefdab (patch)
tree50131d0934e256d4880d8890183ae7a7a0860ea0 /target/linux/atheros/patches-3.10/100-board.patch
parent90ca9a582dcbdc6dd4f8f7f6ab015c0fe99ce1e8 (diff)
downloadmtk-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/100-board.patch')
-rw-r--r--target/linux/atheros/patches-3.10/100-board.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/atheros/patches-3.10/100-board.patch b/target/linux/atheros/patches-3.10/100-board.patch
index 4816667..c3eece7 100644
--- a/target/linux/atheros/patches-3.10/100-board.patch
+++ b/target/linux/atheros/patches-3.10/100-board.patch
@@ -106,9 +106,9 @@
+#include <linux/random.h>
+#include <linux/etherdevice.h>
+#include <linux/irq.h>
++#include <linux/io.h>
+#include <asm/irq_cpu.h>
+#include <asm/reboot.h>
-+#include <asm/io.h>
+
+#include <ar231x_platform.h>
+#include "devices.h"
@@ -1559,7 +1559,7 @@
+#include <asm/reboot.h>
+#include <asm/time.h>
+#include <linux/irq.h>
-+#include <asm/io.h>
++#include <linux/io.h>
+
+#include <ar231x_platform.h>
+#include <ar5312_regs.h>
@@ -2141,7 +2141,7 @@
+#include <asm/reboot.h>
+#include <asm/time.h>
+#include <linux/irq.h>
-+#include <asm/io.h>
++#include <linux/io.h>
+
+#include <ar231x_platform.h>
+#include <ar2315_regs.h>