mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] [media] omap3isp: fix compilation of ispvideo.c
@ 2011-11-20 16:54 Dmitry Artamonow
  2011-11-23  1:53 ` Laurent Pinchart
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitry Artamonow @ 2011-11-20 16:54 UTC (permalink / raw)
  To: Laurent Pinchart; +Cc: linux-kernel, Mauro Carvalho Chehab, linux-media

Fix following build error by explicitely including <linux/module.h>
header file.

  CC      drivers/media/video/omap3isp/ispvideo.o
drivers/media/video/omap3isp/ispvideo.c:1267: error: 'THIS_MODULE' undeclared here (not in a function)
make[4]: *** [drivers/media/video/omap3isp/ispvideo.o] Error 1
make[3]: *** [drivers/media/video/omap3isp] Error 2
make[2]: *** [drivers/media/video] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [drivers] Error 2

Signed-off-by: Dmitry Artamonow <mad_soft@inbox.ru>
---
 drivers/media/video/omap3isp/ispvideo.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/media/video/omap3isp/ispvideo.c b/drivers/media/video/omap3isp/ispvideo.c
index d100072..f229057 100644
--- a/drivers/media/video/omap3isp/ispvideo.c
+++ b/drivers/media/video/omap3isp/ispvideo.c
@@ -26,6 +26,7 @@
 #include <asm/cacheflush.h>
 #include <linux/clk.h>
 #include <linux/mm.h>
+#include <linux/module.h>
 #include <linux/pagemap.h>
 #include <linux/scatterlist.h>
 #include <linux/sched.h>
-- 
1.7.4.rc3


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] [media] omap3isp: fix compilation of ispvideo.c
  2011-11-20 16:54 [PATCH] [media] omap3isp: fix compilation of ispvideo.c Dmitry Artamonow
@ 2011-11-23  1:53 ` Laurent Pinchart
  2011-12-08  6:31   ` Ohad Ben-Cohen
  0 siblings, 1 reply; 4+ messages in thread
From: Laurent Pinchart @ 2011-11-23  1:53 UTC (permalink / raw)
  To: Dmitry Artamonow; +Cc: linux-kernel, Mauro Carvalho Chehab, linux-media

Hi Dmitry,

On Sunday 20 November 2011 17:54:26 Dmitry Artamonow wrote:
> Fix following build error by explicitely including <linux/module.h>
> header file.
> 
>   CC      drivers/media/video/omap3isp/ispvideo.o
> drivers/media/video/omap3isp/ispvideo.c:1267: error: 'THIS_MODULE'
> undeclared here (not in a function) make[4]: ***
> [drivers/media/video/omap3isp/ispvideo.o] Error 1
> make[3]: *** [drivers/media/video/omap3isp] Error 2
> make[2]: *** [drivers/media/video] Error 2
> make[1]: *** [drivers/media] Error 2
> make: *** [drivers] Error 2
> 
> Signed-off-by: Dmitry Artamonow <mad_soft@inbox.ru>

Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

Mauro, can you pick this for v3.2, or would you like me to send a pull request 
?

> ---
>  drivers/media/video/omap3isp/ispvideo.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/media/video/omap3isp/ispvideo.c
> b/drivers/media/video/omap3isp/ispvideo.c index d100072..f229057 100644
> --- a/drivers/media/video/omap3isp/ispvideo.c
> +++ b/drivers/media/video/omap3isp/ispvideo.c
> @@ -26,6 +26,7 @@
>  #include <asm/cacheflush.h>
>  #include <linux/clk.h>
>  #include <linux/mm.h>
> +#include <linux/module.h>
>  #include <linux/pagemap.h>
>  #include <linux/scatterlist.h>
>  #include <linux/sched.h>

-- 
Regards,

Laurent Pinchart

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] [media] omap3isp: fix compilation of ispvideo.c
  2011-11-23  1:53 ` Laurent Pinchart
@ 2011-12-08  6:31   ` Ohad Ben-Cohen
  2011-12-08  9:53     ` Laurent Pinchart
  0 siblings, 1 reply; 4+ messages in thread
From: Ohad Ben-Cohen @ 2011-12-08  6:31 UTC (permalink / raw)
  To: Laurent Pinchart
  Cc: Dmitry Artamonow, linux-kernel, Mauro Carvalho Chehab, linux-media

On Wed, Nov 23, 2011 at 3:53 AM, Laurent Pinchart
<laurent.pinchart@ideasonboard.com> wrote:
> On Sunday 20 November 2011 17:54:26 Dmitry Artamonow wrote:
>> Fix following build error by explicitely including <linux/module.h>
>> header file.
>>
>>   CC      drivers/media/video/omap3isp/ispvideo.o
>> drivers/media/video/omap3isp/ispvideo.c:1267: error: 'THIS_MODULE'
>> undeclared here (not in a function) make[4]: ***
>> [drivers/media/video/omap3isp/ispvideo.o] Error 1
>> make[3]: *** [drivers/media/video/omap3isp] Error 2
>> make[2]: *** [drivers/media/video] Error 2
>> make[1]: *** [drivers/media] Error 2
>> make: *** [drivers] Error 2
>>
>> Signed-off-by: Dmitry Artamonow <mad_soft@inbox.ru>
>
> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
>
> Mauro, can you pick this for v3.2, or would you like me to send a pull request
> ?

Folks, was this one picked up by anyone ?

We seem to still have this issue in mainline (at least in rc4).

Thanks,
Ohad.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] [media] omap3isp: fix compilation of ispvideo.c
  2011-12-08  6:31   ` Ohad Ben-Cohen
@ 2011-12-08  9:53     ` Laurent Pinchart
  0 siblings, 0 replies; 4+ messages in thread
From: Laurent Pinchart @ 2011-12-08  9:53 UTC (permalink / raw)
  To: Ohad Ben-Cohen
  Cc: Dmitry Artamonow, linux-kernel, Mauro Carvalho Chehab, linux-media

Hi Ohad,

On Thursday 08 December 2011 07:31:29 Ohad Ben-Cohen wrote:
> On Wed, Nov 23, 2011 at 3:53 AM, Laurent Pinchart wrote:
> > On Sunday 20 November 2011 17:54:26 Dmitry Artamonow wrote:
> >> Fix following build error by explicitely including <linux/module.h>
> >> header file.
> >> 
> >>   CC      drivers/media/video/omap3isp/ispvideo.o
> >> drivers/media/video/omap3isp/ispvideo.c:1267: error: 'THIS_MODULE'
> >> undeclared here (not in a function) make[4]: ***
> >> [drivers/media/video/omap3isp/ispvideo.o] Error 1
> >> make[3]: *** [drivers/media/video/omap3isp] Error 2
> >> make[2]: *** [drivers/media/video] Error 2
> >> make[1]: *** [drivers/media] Error 2
> >> make: *** [drivers] Error 2
> >> 
> >> Signed-off-by: Dmitry Artamonow <mad_soft@inbox.ru>
> > 
> > Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> > 
> > Mauro, can you pick this for v3.2, or would you like me to send a pull
> > request ?
> 
> Folks, was this one picked up by anyone ?
> 
> We seem to still have this issue in mainline (at least in rc4).

According to http://patchwork.linuxtv.org/patch/8510/ the patch has been 
accepted. Mauro, do you have any time estimate regarding when you will push 
that to Linus ?

-- 
Regards,

Laurent Pinchart

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-12-08  9:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-20 16:54 [PATCH] [media] omap3isp: fix compilation of ispvideo.c Dmitry Artamonow
2011-11-23  1:53 ` Laurent Pinchart
2011-12-08  6:31   ` Ohad Ben-Cohen
2011-12-08  9:53     ` Laurent Pinchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®