[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4AD372E1.50002@cam.ac.uk>
Date: Mon, 12 Oct 2009 19:18:09 +0100
From: Jonathan Cameron <jic23@....ac.uk>
To: LKML <linux-kernel@...r.kernel.org>
CC: Greg Kroah-Hartman <gregkh@...e.de>, devel@...uxdriverproject.org
Subject: [PATCH] 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
---
Ingo posted a couple of similar patches in reply to Linus'
2.6.32-rc4 thread. I guess there will be quite a few more
to come.
drivers/staging/iio/industrialio-core.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
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"
--
1.6.3.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists