From patchwork Thu Apr 5 18:15:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 10325151 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C7CB360467 for ; Thu, 5 Apr 2018 18:15:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B3BD127F8C for ; Thu, 5 Apr 2018 18:15:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A4D8F2933A; Thu, 5 Apr 2018 18:15:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 19FFE27F8C for ; Thu, 5 Apr 2018 18:15:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751406AbeDESP2 (ORCPT ); Thu, 5 Apr 2018 14:15:28 -0400 Received: from osg.samsung.com ([64.30.133.232]:55759 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751365AbeDESP2 (ORCPT ); Thu, 5 Apr 2018 14:15:28 -0400 Received: from localhost (localhost [127.0.0.1]) by osg.samsung.com (Postfix) with ESMTP id E21CB30721; Thu, 5 Apr 2018 11:15:27 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at dev.s-opensource.com Received: from osg.samsung.com ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Weim4EgFUJqq; Thu, 5 Apr 2018 11:15:27 -0700 (PDT) Received: from vento.lan (unknown [177.133.19.105]) by osg.samsung.com (Postfix) with ESMTPSA id 691DE3071B; Thu, 5 Apr 2018 11:15:26 -0700 (PDT) Date: Thu, 5 Apr 2018 15:15:23 -0300 From: Mauro Carvalho Chehab Cc: Linux Media Mailing List , Mauro Carvalho Chehab Subject: Re: [PATCH 16/16] media: omap: allow building it with COMPILE_TEST Message-ID: <20180405151523.1980c739@vento.lan> In-Reply-To: References: Organization: Samsung X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 To: unlisted-recipients:; (no To-header on input) Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Em Thu, 5 Apr 2018 13:54:16 -0400 Mauro Carvalho Chehab escreveu: > Now that we have stubs for omap FB driver, let it build with > COMPILE_TEST. > > Signed-off-by: Mauro Carvalho Chehab > --- > drivers/media/platform/omap/Kconfig | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/media/platform/omap/Kconfig b/drivers/media/platform/omap/Kconfig > index e8e2db181a7a..e6b486c5ddfc 100644 > --- a/drivers/media/platform/omap/Kconfig > +++ b/drivers/media/platform/omap/Kconfig > @@ -4,11 +4,11 @@ config VIDEO_OMAP2_VOUT_VRFB > config VIDEO_OMAP2_VOUT > tristate "OMAP2/OMAP3 V4L2-Display driver" > depends on MMU > - depends on ARCH_OMAP2 || ARCH_OMAP3 > - depends on FB_OMAP2 > + depends on ARCH_OMAP2 || ARCH_OMAP3 || COMPILE_TEST > + depends on FB_OMAP2 || COMPILE_TEST > select VIDEOBUF_GEN > select VIDEOBUF_DMA_CONTIG > - select OMAP2_VRFB if ARCH_OMAP2 || ARCH_OMAP3 > + select OMAP2_VRFB if ARCH_OMAP2 || ARCH_OMAP3 || COMPILE_TEST > select VIDEO_OMAP2_VOUT_VRFB if VIDEO_OMAP2_VOUT && OMAP2_VRFB > select FRAME_VECTOR > default n This actually produces a warning: WARNING: unmet direct dependencies detected for OMAP2_VRFB Depends on [n]: HAS_IOMEM [=y] && ARCH_OMAP2PLUS Selected by [y]: - VIDEO_OMAP2_VOUT [=y] && MEDIA_SUPPORT [=y] && V4L_PLATFORM_DRIVERS [=y] && MMU [=y] && (FB_OMAP2 [=n] || COMPILE_TEST [=y]) && (ARCH_OMAP2 || ARCH_OMAP3 || COMPILE_TEST [=y]) I'm folding this one with the enclosed change: Thanks, Mauro diff --git a/drivers/media/platform/omap/Kconfig b/drivers/media/platform/omap/Kconfig index e6b486c5ddfc..ff051958d675 100644 --- a/drivers/media/platform/omap/Kconfig +++ b/drivers/media/platform/omap/Kconfig @@ -4,11 +4,10 @@ config VIDEO_OMAP2_VOUT_VRFB config VIDEO_OMAP2_VOUT tristate "OMAP2/OMAP3 V4L2-Display driver" depends on MMU - depends on ARCH_OMAP2 || ARCH_OMAP3 || COMPILE_TEST - depends on FB_OMAP2 || COMPILE_TEST + depends on ((ARCH_OMAP2 || ARCH_OMAP3) && FB_OMAP2) || COMPILE_TEST select VIDEOBUF_GEN select VIDEOBUF_DMA_CONTIG - select OMAP2_VRFB if ARCH_OMAP2 || ARCH_OMAP3 || COMPILE_TEST + select OMAP2_VRFB if ARCH_OMAP2 || ARCH_OMAP3 select VIDEO_OMAP2_VOUT_VRFB if VIDEO_OMAP2_VOUT && OMAP2_VRFB select FRAME_VECTOR default n