aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-3.18/107-ar5312_gpio.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-03-13 03:01:50 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-03-13 03:01:50 +0000
commit7a46e008fbcfe5f993fcedb9a0a6b3f0eab8e68a (patch)
treebebe27070010ea2964ba04cc2b9a552487c72cb4 /target/linux/atheros/patches-3.18/107-ar5312_gpio.patch
parent1b5b20e51e290e58cc28a9a7cfb72178c0c10614 (diff)
downloadupstream-7a46e008fbcfe5f993fcedb9a0a6b3f0eab8e68a.tar.gz
upstream-7a46e008fbcfe5f993fcedb9a0a6b3f0eab8e68a.tar.bz2
upstream-7a46e008fbcfe5f993fcedb9a0a6b3f0eab8e68a.zip
atheros: v3.18: cleanup includes
Remove odd and add missed includes. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44730
Diffstat (limited to 'target/linux/atheros/patches-3.18/107-ar5312_gpio.patch')
-rw-r--r--target/linux/atheros/patches-3.18/107-ar5312_gpio.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/atheros/patches-3.18/107-ar5312_gpio.patch b/target/linux/atheros/patches-3.18/107-ar5312_gpio.patch
index ec336b4bf1..ae88fd8931 100644
--- a/target/linux/atheros/patches-3.18/107-ar5312_gpio.patch
+++ b/target/linux/atheros/patches-3.18/107-ar5312_gpio.patch
@@ -10,15 +10,15 @@
config SOC_AR2315
--- a/arch/mips/ath25/ar5312.c
+++ b/arch/mips/ath25/ar5312.c
-@@ -25,6 +25,7 @@
- #include <linux/bitops.h>
- #include <linux/irqdomain.h>
+@@ -22,6 +22,7 @@
+ #include <linux/platform_device.h>
+ #include <linux/mtd/physmap.h>
#include <linux/reboot.h>
+#include <linux/gpio.h>
#include <asm/bootinfo.h>
#include <asm/reboot.h>
#include <asm/time.h>
-@@ -185,6 +186,22 @@ static struct platform_device ar5312_phy
+@@ -180,6 +181,22 @@ static struct platform_device ar5312_phy
.num_resources = 1,
};
@@ -41,7 +41,7 @@
static void __init ar5312_flash_init(void)
{
void __iomem *flashctl_base;
-@@ -252,6 +269,8 @@ void __init ar5312_init_devices(void)
+@@ -247,6 +264,8 @@ void __init ar5312_init_devices(void)
platform_device_register(&ar5312_physmap_flash);