aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-3.10/120-spiflash.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/120-spiflash.patch
parent90ca9a582dcbdc6dd4f8f7f6ab015c0fe99ce1e8 (diff)
downloadupstream-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/120-spiflash.patch')
-rw-r--r--target/linux/atheros/patches-3.10/120-spiflash.patch5
1 files changed, 2 insertions, 3 deletions
diff --git a/target/linux/atheros/patches-3.10/120-spiflash.patch b/target/linux/atheros/patches-3.10/120-spiflash.patch
index 7876de18fb..e91fd41d42 100644
--- a/target/linux/atheros/patches-3.10/120-spiflash.patch
+++ b/target/linux/atheros/patches-3.10/120-spiflash.patch
@@ -23,7 +23,7 @@
--- /dev/null
+++ b/drivers/mtd/devices/ar2315.c
-@@ -0,0 +1,515 @@
+@@ -0,0 +1,514 @@
+
+/*
+ * MTD driver for the SPI Flash Memory support on Atheros AR2315
@@ -52,8 +52,7 @@
+#include <linux/sched.h>
+#include <linux/root_dev.h>
+#include <linux/delay.h>
-+#include <asm/delay.h>
-+#include <asm/io.h>
++#include <linux/io.h>
+
+#include <ar2315_spiflash.h>
+#include <ar231x_platform.h>