From patchwork Tue Mar 31 11:11:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 210357 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.3 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1D2A3C2D0E8 for ; Tue, 31 Mar 2020 11:12:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E88AB214D8 for ; Tue, 31 Mar 2020 11:12:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585653160; bh=DALzt/FJfquJVMbS1+ZsDlPO6AUGLZN1JoXKZscQY/w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=z9W1D0ggHutNoyzhJ1tULijx1699U7tCeq2orBGrOlmmZJCQXmZvh5c3zccLZKxyw hjOThVMZxP46j63rA4N0RMV3DEe3Wg6+QaGy9RcZRUCzs+2YPzrmEYT9y06XXPIhjy HNfCEgMd69zYWpiStJqR4YWJEf1VBEZDrT5kCLHs= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730607AbgCaLMi (ORCPT ); Tue, 31 Mar 2020 07:12:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:57934 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730598AbgCaLMO (ORCPT ); Tue, 31 Mar 2020 07:12:14 -0400 Received: from mail.kernel.org (ip5f5ad4d8.dynamic.kabel-deutschland.de [95.90.212.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5599721655; Tue, 31 Mar 2020 11:12:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585653133; bh=DALzt/FJfquJVMbS1+ZsDlPO6AUGLZN1JoXKZscQY/w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Y1K5Yd+H3KLgver58wNIGGRtc6/neEUwv2clYcYzpXFIIXMfuGGJWzeXIRfxirqQf n/UmTbR/imLXyhXCev1zJKD5xk/IGD5WaDHWSamtGyergBZZjztrnDa8PYODrgmErt M/xYxmXabMEPSDnXj851GQzZhyQPTB6BLPxMGGok= Received: from mchehab by mail.kernel.org with local (Exim 4.92.3) (envelope-from ) id 1jJEoV-002bqv-FE; Tue, 31 Mar 2020 13:12:11 +0200 From: Mauro Carvalho Chehab To: Linux Media Mailing List Cc: Mauro Carvalho Chehab Subject: [PATCH v4 14/33] media: Kconfig: simplify some dependencies Date: Tue, 31 Mar 2020 13:11:50 +0200 Message-Id: <9b0c6c97a54e471e3d773256cd42fbc0e53ee368.1585651678.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org both DVB_CORE and VIDEO_DEV already depends on MEDIA_SUPPORT, as they're below an if block. So, remove this double dependency. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig index dc0cc42d48ad..f6763d02f1be 100644 --- a/drivers/media/Kconfig +++ b/drivers/media/Kconfig @@ -125,7 +125,6 @@ source "drivers/media/mc/Kconfig" config VIDEO_DEV tristate - depends on MEDIA_SUPPORT default MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT || MEDIA_PLATFORM_SUPPORT config VIDEO_V4L2_SUBDEV_API @@ -146,7 +145,6 @@ source "drivers/media/v4l2-core/Kconfig" config DVB_CORE tristate - depends on MEDIA_SUPPORT depends on MEDIA_DIGITAL_TV_SUPPORT depends on (I2C || I2C=n) default y