summaryrefslogtreecommitdiff
path: root/package/ifx-vmmc/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/ifx-vmmc/patches')
-rw-r--r--package/ifx-vmmc/patches/001-portability.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/ifx-vmmc/patches/001-portability.patch b/package/ifx-vmmc/patches/001-portability.patch
index fb8ab68ed4..81869cd3df 100644
--- a/package/ifx-vmmc/patches/001-portability.patch
+++ b/package/ifx-vmmc/patches/001-portability.patch
@@ -24,3 +24,13 @@
$(MAKE) ARCH=@KERNEL_ARCH@ -C @KERNEL_BUILD_PATH@ O=@KERNEL_BUILD_PATH@ M=$(PWD) modules
clean-generic:
+--- a/src/drv_vmmc_linux.c
++++ b/src/drv_vmmc_linux.c
+@@ -27,6 +27,7 @@
+ #include <linux/proc_fs.h>
+ #include <linux/wait.h>
+ #include <linux/vmalloc.h>
++#include <linux/sched.h>
+
+ #ifdef LINUX_2_6
+ #include <linux/version.h>