Message ID | 1321808066-1791-1-git-send-email-mad_soft@inbox.ru (mailing list archive) |
---|---|
State | Accepted, archived |
Headers |
Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from <linux-media-owner@vger.kernel.org>) id 1RSApX-0000HX-96; Sun, 20 Nov 2011 18:05:47 +0100 X-tubIT-Incoming-IP: 209.132.180.67 Received: from vger.kernel.org ([209.132.180.67]) by mail.tu-berlin.de (exim-4.75/mailfrontend-1) with esmtp id 1RSApW-0001vt-L5; Sun, 20 Nov 2011 18:05:22 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753569Ab1KTRFI (ORCPT <rfc822;hunold@linuxtv.org> + 4 others); Sun, 20 Nov 2011 12:05:08 -0500 Received: from fallback8.mail.ru ([94.100.176.136]:51546 "EHLO fallback8.mail.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753555Ab1KTRFH (ORCPT <rfc822;linux-media@vger.kernel.org>); Sun, 20 Nov 2011 12:05:07 -0500 X-Greylist: delayed 634 seconds by postgrey-1.27 at vger.kernel.org; Sun, 20 Nov 2011 12:05:07 EST Received: from smtp24.mail.ru (smtp24.mail.ru [94.100.176.177]) by fallback8.mail.ru (mPOP.Fallback_MX) with ESMTP id 7F69930CE7F6 for <linux-media@vger.kernel.org>; Sun, 20 Nov 2011 20:54:53 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail; h=Message-Id:Date:Subject:Cc:To:From; bh=Eq8F9/B+t2mpH6EZlAbwdFn68fc/eSLhx5NVsPRVVTM=; b=i2fXGWBUQwbG3UbdaKP9Gv2POGKtK6YPanIvbksc8kAEeUEnN4tIfGQd5JK9Z2jpsWwiVBhkQMD6JYSaD4D7NRsMrd2eHrLPetirbZ23jBW71rqGjmkI5R/spkb1dhi0; Received: from [95.73.48.228] (port=14285 helo=macmini.mad.is-a-geek.org) by smtp24.mail.ru with asmtp id 1RSAf1-00079O-00; Sun, 20 Nov 2011 20:54:31 +0400 From: Dmitry Artamonow <mad_soft@inbox.ru> To: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Cc: linux-kernel@vger.kernel.org, Mauro Carvalho Chehab <mchehab@infradead.org>, linux-media@vger.kernel.org Subject: [PATCH] [media] omap3isp: fix compilation of ispvideo.c Date: Sun, 20 Nov 2011 20:54:26 +0400 Message-Id: <1321808066-1791-1-git-send-email-mad_soft@inbox.ru> X-Mailer: git-send-email 1.7.4.rc3 X-Spam: Not detected X-Mras: Ok X-Mras: Ok Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: <linux-media.vger.kernel.org> X-Mailing-List: linux-media@vger.kernel.org X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.11.20.170015 X-PMX-Spam: Gauge=X, Probability=10%, Report=' RU_TLD 0.5, MULTIPLE_RCPTS 0.1, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1200_1299 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, MAILTO_TO_RU_TLD 0, __ANY_URI 0, __CP_MEDIA_BODY 0, __CP_URI_IN_BODY 0, __DATE_TZ_RU 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __HAS_X_MAILING_LIST 0, __MIME_TEXT_ONLY 0, __MULTIPLE_RCPTS_CC_X2 0, __RUS_WEBMAIL_FROM 0, __RUS_WEBMAIL_RCVD 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __URI_NO_WWW 0, __URI_NS ' X-LSpam-Score: -4.2 (----) X-LSpam-Report: No, score=-4.2 required=5.0 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_MED=-2.3, T_DKIM_INVALID=0.01 autolearn=ham |
Commit Message
Dmitry Artamonow
Nov. 20, 2011, 4:54 p.m. UTC
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(-)
Comments
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>
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. -- 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
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 ?
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>