From e0019b33a4e198ab7b00b103d19d33988fdab4f6 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Fri, 1 Jan 2016 21:21:04 +0000 Subject: lantiq: ltq-vmmc: Fix compilation with linux 4.4 gpio.h needs the linux/ prefix with linux 4.4. SVN-Revision: 48057 --- package/kernel/lantiq/ltq-vmmc/patches/100-target.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'package/kernel/lantiq/ltq-vmmc/patches/100-target.patch') diff --git a/package/kernel/lantiq/ltq-vmmc/patches/100-target.patch b/package/kernel/lantiq/ltq-vmmc/patches/100-target.patch index cabd2d199c..974ed831de 100644 --- a/package/kernel/lantiq/ltq-vmmc/patches/100-target.patch +++ b/package/kernel/lantiq/ltq-vmmc/patches/100-target.patch @@ -143,7 +143,7 @@ -#include +#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,28)) +# include -+# include ++# include +# include + +# define ifx_gptu_timer_request lq_request_timer @@ -432,7 +432,7 @@ -#include +#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,28)) +# include -+# include ++# include +# include +# include + @@ -513,9 +513,9 @@ -#include +#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,28)) +# include -+# include ++# include +# include -+# include ++# include +#define IFXMIPS_MPS_SRAM ((u32 *)(KSEG1 + 0x1F200000)) +#define IFXMIPS_MPS_BASE_ADDR (KSEG1 + 0x1F107000) +#define IFXMIPS_MPS_CHIPID ((u32 *)(IFXMIPS_MPS_BASE_ADDR + 0x0344)) -- cgit v1.2.3