Staging: iio: Fix missing include <linux/sched.h>
authorJonathan Cameron <jic23@cam.ac.uk>
Mon, 12 Oct 2009 18:18:09 +0000 (19:18 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 14 Oct 2009 21:14:35 +0000 (14:14 -0700)
linux/sched.h include was removed form linux/poll.h by
commmit a99bbaf5ee6bad1aca0c88ea65ec6e5373e86184

Required for definition of TASK_INTERRUPTIBLE amongst others

From: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/industrialio-core.c

index 1fa18f2558148b0d5e0f685b1289b41c5377bb1e..8b67c17237e0044092c2148b5c4b77a77b955819 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/fs.h>
 #include <linux/interrupt.h>
 #include <linux/poll.h>
+#include <linux/sched.h>
 #include <linux/cdev.h>
 #include "iio.h"
 #include "trigger_consumer.h"