From mboxrd@z Thu Jan 1 00:00:00 1970 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.1 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,URIBL_BLOCKED,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 23B32C1975A for ; Wed, 25 Mar 2020 09:49:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EF02B20775 for ; Wed, 25 Mar 2020 09:49:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585129782; bh=b01EnQaRspx5d6cGLgocuZsCyS6TvnyOWxainjcZwik=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=Pp+fi/h9498sLIWQz/Ucgsor1zcFOS2n2doQaWRlRu2qLIXafmS+f5T03gK7maCnf XH3EloX1EOm9oBxaIj82XaeyliMXDsyZ5jIJH3wrJZrGZ7SvbpelFFwAi2GFsqyd6L rvWp2kbQy47uYgNLShOEqdPw6LOwBUWcrBIUJTXI= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727513AbgCYJtl (ORCPT ); Wed, 25 Mar 2020 05:49:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:51332 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727407AbgCYJtk (ORCPT ); Wed, 25 Mar 2020 05:49:40 -0400 Received: from mail.kernel.org (ip5f5ad4e9.dynamic.kabel-deutschland.de [95.90.212.233]) (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 E09AE2080C; Wed, 25 Mar 2020 09:49:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585129780; bh=b01EnQaRspx5d6cGLgocuZsCyS6TvnyOWxainjcZwik=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LwDjOgs6MnuaQz/jLwS6eRf9EubOU0OydYee4al86kFkweCjbO6Btv5iZhcU1ZsiH ItOT+O/F2Z+TrYJVsAO9gHejI99EXDvmpylE3Zoaji5cl8d7gQyvOOTRqhBPDCQOHc yN9MwyyWmSgs0VqO8BuZdXh16DdkykFPax6bpA0s= Received: from mchehab by mail.kernel.org with local (Exim 4.92.3) (envelope-from ) id 1jH2fK-003HTZ-6k; Wed, 25 Mar 2020 10:49:38 +0100 From: Mauro Carvalho Chehab To: Linux Media Mailing List Cc: Mauro Carvalho Chehab Subject: [PATCH v3 07/22] media: Kconfig: use a sub-menu to select supported devices Date: Wed, 25 Mar 2020 10:49:21 +0100 Message-Id: <8d7a454c0141183c7bfa29631957f68d75641de6.1585129041.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The media subsystem has hundreds of driver-specific options. The *_SUPPORT config options work as a sort of filter, allowing to reduce its complexity for users that won't want to dig into thousands of options they don't need. Yet, it the filtering options are becoming large. So, let's place it on a sub-menu. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/Kconfig | 21 ++++++++++++--------- drivers/media/mmc/Kconfig | 2 +- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig index 6025442dca0d..7a3e09e87fe1 100644 --- a/drivers/media/Kconfig +++ b/drivers/media/Kconfig @@ -25,22 +25,21 @@ menuconfig MEDIA_SUPPORT Additional info and docs are available on the web at -if MEDIA_SUPPORT - -comment "Multimedia core support" +menu "Types of devices to be supported" + depends on MEDIA_SUPPORT # # Multimedia support - automatically enable V4L2 and DVB core # config MEDIA_CAMERA_SUPPORT - bool "Cameras/video grabbers support" + bool "Cameras and video grabbers" help Enable support for webcams and video grabbers. Say Y when you have a webcam or a video capture grabber board. config MEDIA_ANALOG_TV_SUPPORT - bool "Analog TV support" + bool "Analog TV" help Enable analog TV support. @@ -52,7 +51,7 @@ config MEDIA_ANALOG_TV_SUPPORT will disable support for them. config MEDIA_DIGITAL_TV_SUPPORT - bool "Digital TV support" + bool "Digital TV" help Enable digital TV support. @@ -60,7 +59,7 @@ config MEDIA_DIGITAL_TV_SUPPORT hybrid digital TV and analog TV. config MEDIA_RADIO_SUPPORT - bool "AM/FM radio receivers/transmitters support" + bool "AM/FM radio receivers/transmitters" help Enable AM/FM radio support. @@ -74,7 +73,7 @@ config MEDIA_RADIO_SUPPORT disable support for them. config MEDIA_SDR_SUPPORT - bool "Software defined radio support" + bool "Software defined radio" help Enable software defined radio support. @@ -100,6 +99,9 @@ config MEDIA_PLATFORM_SUPPORT on some GPU and newer CPU chipsets. Say Y when you want to be able so see such devices. +endmenu # Types of devices to be supported + +if MEDIA_SUPPORT source "drivers/media/cec/Kconfig" @@ -186,7 +188,8 @@ source "drivers/media/platform/Kconfig" source "drivers/media/mmc/Kconfig" endif -comment "Supported FireWire (IEEE 1394) Adapters" + +comment "FireWire (IEEE 1394) Adapters" depends on DVB_CORE && FIREWIRE source "drivers/media/firewire/Kconfig" diff --git a/drivers/media/mmc/Kconfig b/drivers/media/mmc/Kconfig index de0528c6994a..5217f5bd205e 100644 --- a/drivers/media/mmc/Kconfig +++ b/drivers/media/mmc/Kconfig @@ -1,3 +1,3 @@ # SPDX-License-Identifier: GPL-2.0-only -comment "Supported MMC/SDIO adapters" +comment "MMC/SDIO adapters" source "drivers/media/mmc/siano/Kconfig" -- 2.25.1