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/120-spiflash.patch | |
parent | d5ce5c199b62e4a990ff4b2ae6a9c2c67afca3c3 (diff) | |
download | upstream-3b68214e570417f35093426576bddfd7425dac1c.tar.gz upstream-3b68214e570417f35093426576bddfd7425dac1c.tar.bz2 upstream-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/120-spiflash.patch')
-rw-r--r-- | target/linux/atheros/patches-3.10/120-spiflash.patch | 5 |
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> |