aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/lantiq/ltq-vmmc/patches/400-falcon.patch
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2016-01-01 21:21:04 +0000
committerJohn Crispin <blogic@openwrt.org>2016-01-01 21:21:04 +0000
commitaa826858305e1797546d3a50c94905be24a55c31 (patch)
tree19abc0c79886aa68d98878c144a31527cca4a4da /package/kernel/lantiq/ltq-vmmc/patches/400-falcon.patch
parentf60c57f2ece07904da5345d8a668866bb4130a27 (diff)
downloadmaster-187ad058-aa826858305e1797546d3a50c94905be24a55c31.tar.gz
master-187ad058-aa826858305e1797546d3a50c94905be24a55c31.tar.bz2
master-187ad058-aa826858305e1797546d3a50c94905be24a55c31.zip
lantiq: ltq-vmmc: Fix compilation with linux 4.4
gpio.h needs the linux/ prefix with linux 4.4. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48057 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/lantiq/ltq-vmmc/patches/400-falcon.patch')
-rw-r--r--package/kernel/lantiq/ltq-vmmc/patches/400-falcon.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/lantiq/ltq-vmmc/patches/400-falcon.patch b/package/kernel/lantiq/ltq-vmmc/patches/400-falcon.patch
index d2afc65dcd..7ebf171ad2 100644
--- a/package/kernel/lantiq/ltq-vmmc/patches/400-falcon.patch
+++ b/package/kernel/lantiq/ltq-vmmc/patches/400-falcon.patch
@@ -783,7 +783,7 @@
+++ b/src/mps/drv_mps_vmmc_device.h
@@ -22,7 +22,12 @@
# include <lantiq_soc.h>
- # include <gpio.h>
+ # include <linux/gpio.h>
#define IFXMIPS_MPS_SRAM ((u32 *)(KSEG1 + 0x1F200000))
+#if defined(SYSTEM_FALCON)
+#define IFXMIPS_MPS_BASE_ADDR (KSEG1 + 0x1D004000)