From patchwork Tue Feb 19 09:01:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Martinez Canillas X-Patchwork-Id: 10819505 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2D92A1575 for ; Tue, 19 Feb 2019 09:01:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1B7902B411 for ; Tue, 19 Feb 2019 09:01:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0EFD32B4C7; Tue, 19 Feb 2019 09:01:34 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, 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 BA0492B411 for ; Tue, 19 Feb 2019 09:01:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727752AbfBSJBX (ORCPT ); Tue, 19 Feb 2019 04:01:23 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:39496 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727315AbfBSJBX (ORCPT ); Tue, 19 Feb 2019 04:01:23 -0500 Received: by mail-wr1-f66.google.com with SMTP id l5so20154705wrw.6 for ; Tue, 19 Feb 2019 01:01:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=lBFymejVO6nyQQvMVd1TUt4bRT7eP4YLeQu2FDz6j7M=; b=Ys3Gx6tiWALIrDcFhUbCBitSokqJa+nrkeJ2ruSILnv55i+pIHwXO8oZbhfMHAS/A/ fyv/4+zCEnQbuMnlRwnvFseuTXhhsOcIsz0rwXNyz7uHCbcs2nDb4Hn2MnF+ItUVhugH 1DqkhhbfAMq2nCbfeDrlBwhbQrmJ/utn2sHY/ASLaIOf7V7ARt/sg5u5sGub0/JgfO+b Qlo1x6dcp20ZPV1Rqu6zgpHkhVWT65tG+bMN3mYQIm8bRdiSEoizMx5KhRRIKFAzQO9o yjKhkKj2TFsGO5QaIKhks/0cOrLgsOxn5pxuomZfliTsj9Ql9zvgoLSy87i5KVSljxqp PGTQ== X-Gm-Message-State: AHQUAuaa/u+EesqSUY6RXpDEkVR+0nt4RGQd9sfaQmL7IOXU+0ajKkp0 dwRQjhJ6zzsPWoAa8cFm3VfS4w== X-Google-Smtp-Source: AHgI3IZqIulMrW23qsi+TjpzBIPzRnWNszRUrCEIbyeC+HTx9LCU/HtIFsKXuQ47oEbXLU4QHAfc9A== X-Received: by 2002:a05:6000:128f:: with SMTP id f15mr19075527wrx.74.1550566881168; Tue, 19 Feb 2019 01:01:21 -0800 (PST) Received: from minerva.redhat.com ([90.168.169.92]) by smtp.gmail.com with ESMTPSA id f196sm2745727wme.36.2019.02.19.01.01.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Feb 2019 01:01:20 -0800 (PST) From: Javier Martinez Canillas To: linux-kernel@vger.kernel.org Cc: Javier Martinez Canillas , Mauro Carvalho Chehab , devel@driverdev.osuosl.org, Philipp Zabel , Greg Kroah-Hartman , Hans Verkuil , Steve Longerbeam , linux-media@vger.kernel.org Subject: [PATCH] media: staging/imx: Allow driver to build if COMPILE_TEST is enabled Date: Tue, 19 Feb 2019 10:01:04 +0100 Message-Id: <20190219090104.1143-1-javierm@redhat.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 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 The driver has runtime but no build time dependency with IMX_IPUV3_CORE, so can be built for testing purposes if COMPILE_TEST option is enabled. This is useful to have more build coverage and make sure that the driver is not affected by changes that could cause build regressions. Signed-off-by: Javier Martinez Canillas --- drivers/staging/media/imx/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/imx/Kconfig b/drivers/staging/media/imx/Kconfig index 36b276ea2ec..5045e24c470 100644 --- a/drivers/staging/media/imx/Kconfig +++ b/drivers/staging/media/imx/Kconfig @@ -1,7 +1,7 @@ config VIDEO_IMX_MEDIA tristate "i.MX5/6 V4L2 media core driver" depends on ARCH_MXC || COMPILE_TEST - depends on MEDIA_CONTROLLER && VIDEO_V4L2 && IMX_IPUV3_CORE + depends on MEDIA_CONTROLLER && VIDEO_V4L2 && (IMX_IPUV3_CORE || COMPILE_TEST) depends on VIDEO_V4L2_SUBDEV_API depends on HAS_DMA select VIDEOBUF2_DMA_CONTIG