V4L: omap1_camera: fix missing <linux/module.h> include
Commit Message
Otherwise compilation breaks with:
drivers/media/video/omap1_camera.c:1535: error: 'THIS_MODULE' undeclared here (not in a function)
...
after apparently no longer included recursively from other header files.
Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
---
drivers/media/video/omap1_camera.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
Comments
Hi Janusz
On Fri, 25 Nov 2011, Janusz Krzysztofik wrote:
> Otherwise compilation breaks with:
>
> drivers/media/video/omap1_camera.c:1535: error: 'THIS_MODULE' undeclared here (not in a function)
> ...
>
> after apparently no longer included recursively from other header files.
>
> Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Thanks, will push with other 3.2-rc soc-camera fixes, when I find time to
organise them...
Thanks
Guennadi
> ---
> drivers/media/video/omap1_camera.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/media/video/omap1_camera.c b/drivers/media/video/omap1_camera.c
> index e87ae2f..6a6cf38 100644
> --- a/drivers/media/video/omap1_camera.c
> +++ b/drivers/media/video/omap1_camera.c
> @@ -24,6 +24,7 @@
> #include <linux/clk.h>
> #include <linux/dma-mapping.h>
> #include <linux/interrupt.h>
> +#include <linux/module.h>
> #include <linux/platform_device.h>
> #include <linux/slab.h>
>
> --
> 1.7.3.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
@@ -24,6 +24,7 @@
#include <linux/clk.h>
#include <linux/dma-mapping.h>
#include <linux/interrupt.h>
+#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/slab.h>