pxa_camera: Fix missing include for wake_up
Commit Message
Function wake_up() needs include sched.h.
Apparently, commit d43c36dc6b357fa1806800f18aa30123c747a6d1
changed the include chain, removing linux/sched.h
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
--
Kernelversion: v2.6.32-rc5
---
drivers/media/video/pxa_camera.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
Comments
Hi Robert
On Sat, 24 Oct 2009, Robert Jarzmik wrote:
> Function wake_up() needs include sched.h.
> Apparently, commit d43c36dc6b357fa1806800f18aa30123c747a6d1
> changed the include chain, removing linux/sched.h
>
> Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Thanks, but I'm afraid you're a bit late:
http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/10947/focus=10949
Regards
Guennadi
>
> --
> Kernelversion: v2.6.32-rc5
> ---
> drivers/media/video/pxa_camera.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/media/video/pxa_camera.c b/drivers/media/video/pxa_camera.c
> index 6952e96..5d01dcf 100644
> --- a/drivers/media/video/pxa_camera.c
> +++ b/drivers/media/video/pxa_camera.c
> @@ -26,6 +26,7 @@
> #include <linux/device.h>
> #include <linux/platform_device.h>
> #include <linux/clk.h>
> +#include <linux/sched.h>
>
> #include <media/v4l2-common.h>
> #include <media/v4l2-dev.h>
> --
> 1.6.0.4
>
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Guennadi Liakhovetski <g.liakhovetski@gmx.de> writes:
> Hi Robert
> Thanks, but I'm afraid you're a bit late:
>
> http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/10947/focus=10949
Ouch, missed this one on the mailing list.
You can drop that patch then, Jonathan's patch is exactly the same.
BTW, it was not included in -rc5 (which I'm based on) as you wished for.
Cheers.
--
Robert
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
@@ -26,6 +26,7 @@
#include <linux/device.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
+#include <linux/sched.h>
#include <media/v4l2-common.h>
#include <media/v4l2-dev.h>