The following commit has been merged in the linux branch: commit ffc18afa11f32d59839b5f3c605c64c63d38c218 Author: Jonathan Cameron jic23@cam.ac.uk Date: Mon Oct 12 19:18:09 2009 +0100
Staging: iio: Fix missing include <linux/sched.h>
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
diff --git a/drivers/staging/iio/industrialio-core.c b/drivers/staging/iio/industrialio-core.c index 1fa18f2..8b67c17 100644 --- a/drivers/staging/iio/industrialio-core.c +++ b/drivers/staging/iio/industrialio-core.c @@ -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"