summaryrefslogtreecommitdiff
path: root/package/linux-fusion/linux-fusion-8.1.1-missing-include.patch
blob: d7b6f23e0cba21f5c6e841ad5e46ca7150d4d2e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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>