summaryrefslogtreecommitdiff
path: root/package/kernel/lantiq/ltq-vmmc/patches/400-falcon.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-01-01 21:21:04 +0000
committerJohn Crispin <john@openwrt.org>2016-01-01 21:21:04 +0000
commite0019b33a4e198ab7b00b103d19d33988fdab4f6 (patch)
tree570a0697adc32bfb211ab711293f7552c6bc3f46 /package/kernel/lantiq/ltq-vmmc/patches/400-falcon.patch
parent8c80e915a0a610c429b88bc52313ebe5fae8a584 (diff)
downloadmtk-20170518-e0019b33a4e198ab7b00b103d19d33988fdab4f6.zip
mtk-20170518-e0019b33a4e198ab7b00b103d19d33988fdab4f6.tar.gz
mtk-20170518-e0019b33a4e198ab7b00b103d19d33988fdab4f6.tar.bz2
lantiq: ltq-vmmc: Fix compilation with linux 4.4
gpio.h needs the linux/ prefix with linux 4.4. SVN-Revision: 48057
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 d2afc65..7ebf171 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)