Re: Staging: comedi: Add include of <linux/sched.h> to fix build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 09, 2009 at 10:42:09AM -0700, Roland Dreier wrote:
> Commit a99bbaf5 ("headers: remove sched.h from poll.h") removed the
> implicit include of <linux/sched.h> via <linux/poll.h>, and broke the
> comedi build with errors like:
> 
>     drivers/staging/comedi/drivers/serial2002.c:201: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
> 
> Explicitly include <linux/sched.h> to fix this.
> 
> Signed-off-by: Roland Dreier <rolandd@xxxxxxxxx>

Heh, this is already in my tree, and will be sent to Linus today.

thanks,

greg k-h
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux