Skip to contentSkip to conversation

Staging: Comedi: Add missing <linux/sched.h> includes

PATCH Roland Dreier 2 participants 4 messages Oct 14, 2009 Staging

lore
Share & tools
lore
#0 lore raw

Fix fallout of removal of sched.h from interrupt.h. This fixes build breakage in staging drivers.

---
 drivers/staging/comedi/drivers/me_daq.c        |    1 +
 drivers/staging/comedi/drivers/ni_mio_common.c |    1 +
 drivers/staging/comedi/drivers/ni_pcidio.c     |    1 +
 3 files changed, 3 insertions(+), 0 deletions(-)
drivers/staging/comedi/drivers/me_daq.c +1 -0
index 2cda7ad..80e192d 100644
@@ -51,6 +51,7 @@ from http://www.comedi.org
 */
 
 #include <linux/interrupt.h>
+#include <linux/sched.h>
 #include "../comedidev.h"
 
 #include "comedi_pci.h"
drivers/staging/comedi/drivers/ni_mio_common.c +1 -0
index e3ffb06..753ee05 100644
@@ -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"
drivers/staging/comedi/drivers/ni_pcidio.c +1 -0
index 52b2eca..d544698 100644
@@ -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"
#1 lore raw
Quoted 4 lines · Roland Dreier

Fix fallout of removal of sched.h from interrupt.h. This fixes build breakage in staging drivers.

Already in my tree :(

thanks,

greg k-h

#2 lore raw
Quoted 2 lines

Already in my tree :(

Any plans to get it upstream? As far as I can tell, these drivers haven't built since before -rc4, so 4 or 5 days at least.

- R.

#3 lore raw
Quoted 5 lines · Roland Dreier
Quoted 2 lines

Already in my tree :(

Any plans to get it upstream? As far as I can tell, these drivers haven't built since before -rc4, so 4 or 5 days at least.

They should go to Linus in a few hours, patience :)

The patches were also posted to lkml yesterday.

thanks,

greg k-h