summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@cam.ac.uk>2009-10-12 19:18:09 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-10-14 14:14:35 -0700
commitffc18afa11f32d59839b5f3c605c64c63d38c218 (patch)
treedfbd94be64830583a8d2c6b3bd53d3629db33f14 /drivers
parent80f506918fdaaca6b574ba931536a58ce015c7be (diff)
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/iio/industrialio-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/iio/industrialio-core.c b/drivers/staging/iio/industrialio-core.c
index 1fa18f255814..8b67c17237e0 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"