Staging: comedi: fix sched.h build breakage
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 12 Oct 2009 21:58:16 +0000 (14:58 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 14 Oct 2009 21:14:36 +0000 (14:14 -0700)
commit d43c36dc removed sched.h from interrupt.h.  This broke some of
the comedi drivers.  This patch fixes this.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/me_daq.c
drivers/staging/comedi/drivers/ni_mio_common.c
drivers/staging/comedi/drivers/ni_pcidio.c

index 2cda7ad1d32f35e328916267ef8e05f84a2208f8..80e192d2e77e8a5f8f82fa6fb3fd108d7e4e3946 100644 (file)
@@ -51,6 +51,7 @@ from http://www.comedi.org
 */
 
 #include <linux/interrupt.h>
+#include <linux/sched.h>
 #include "../comedidev.h"
 
 #include "comedi_pci.h"
index e3ffb067ead18b8916e34ec179dd162966e9f814..753ee05123425211c3c22d17ab15c9432ded7a2a 100644 (file)
@@ -62,6 +62,7 @@
 /* #define DEBUG_STATUS_B */
 
 #include <linux/interrupt.h>
+#include <linux/sched.h>
 #include "8255.h"
 #include "mite.h"
 #include "comedi_fc.h"
index 52b2eca9e73d37dec67cea2fbcbe92ab8f8556c3..d544698f2414e2b5685fdd5ac7df950548582589 100644 (file)
@@ -70,6 +70,7 @@ comedi_nonfree_firmware tarball available from http://www.comedi.org
 /* #define DEBUG_FLAGS */
 
 #include <linux/interrupt.h>
+#include <linux/sched.h>
 #include "../comedidev.h"
 
 #include "mite.h"