summaryrefslogtreecommitdiff
path: root/package/linux-fusion/linux-fusion-8.1.1-missing-include.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/linux-fusion/linux-fusion-8.1.1-missing-include.patch')
-rw-r--r--package/linux-fusion/linux-fusion-8.1.1-missing-include.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/linux-fusion/linux-fusion-8.1.1-missing-include.patch b/package/linux-fusion/linux-fusion-8.1.1-missing-include.patch
new file mode 100644
index 000000000..d7b6f23e0
--- /dev/null
+++ b/package/linux-fusion/linux-fusion-8.1.1-missing-include.patch
@@ -0,0 +1,17 @@
+fusiondev.c does not compile due to TASK_INTERRUPTIBLE and other
+related constants not being defined.
+
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+
+Index: linux-fusion-8.1.1/linux/drivers/char/fusion/fusiondev.c
+===================================================================
+--- linux-fusion-8.1.1.orig/linux/drivers/char/fusion/fusiondev.c 2010-07-16 22:49:23.000000000 +0200
++++ linux-fusion-8.1.1/linux/drivers/char/fusion/fusiondev.c 2010-07-16 22:49:39.000000000 +0200
+@@ -32,6 +32,7 @@
+ #include <linux/proc_fs.h>
+ #include <linux/poll.h>
+ #include <linux/init.h>
++#include <linux/sched.h>
+ #include <asm/io.h>
+ #include <asm/uaccess.h>
+