Messages in this thread | | | Date | Tue, 15 Feb 2011 14:17:48 +0200 | From | Sakari Ailus <> | Subject | Re: [PATCH resend] video: omap24xxcam: Fix compilation |
| |
Felipe Balbi wrote: > Hi, > > On Tue, Feb 15, 2011 at 12:50:12PM +0100, Thomas Weber wrote: >> Hello Felipe, >> >> in include/linux/wait.h >> >> #define wake_up(x) __wake_up(x, TASK_NORMAL, 1, NULL) > > aha, now I get it, so shouldn't the real fix be including <linux/sched.h> > on <linux/wait.h>, I mean, it's <linuux/wait.h> who uses a symbol > defined in <linux/sched.h>, right ?
Surprisingly many other files still don't seem to be affected. But this is actually a better solution (to include sched.h in wait.h).
-- Sakari Ailus sakari.ailus@maxwell.research.nokia.com
| |