Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4863920ybb; Tue, 24 Mar 2020 06:45:34 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuts8pQBFuSB4aRoHH23ox0eIY0bBqkD8QCzBTQ05FupchE6VfUVxcOW5HaanhSwDxzdpcD X-Received: by 2002:a54:4d03:: with SMTP id v3mr3521634oix.177.1585057534587; Tue, 24 Mar 2020 06:45:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585057534; cv=none; d=google.com; s=arc-20160816; b=vHu7nheNOhjKQqLxAg3kwJEOTWzrgEycu+8F8+yWjjLa61mO2LOT1+/7RVsd7Q0zaB 0rz05VLE09z2bwsOjafuzoNE4iD6S6TiRvpr6wrNYgNbrpWTqtsjK2vb+5f1gVVZ6tsF ksoCAbTHxzz5RNqCGQIrPcpU+b7JiEfdQhLrypTnRIifvhUf4K2Gmf5/bcm3+HMvDg9f tRV6LVv4EQPoIwGQR9sfJUT39LHQ5Wo1nksMwmNV5kQXTCd74o2LZSEpT18Y38L9BQVo oY0DesxRlt1wsNgTDYYhfiJiqHa6w5yefbJdOs0TciufaopVdgXzyOLFFOADJaYkHiV+ dygg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=tOFOUTXQ0XGf3/9xpU39DscgMfJ9dsJjXGmAzsb4YOQ=; b=clQU8Y+CL7pUv4IWHXB7kw/dt2iQcJ3m/sg25svv/fMYN35RE2FiM7DXfeU4Q3b+JH OdyRs5O2vG+Czb+G1jbqz4cJRI84Q48oYFXEIIIXsK2tUqhxrFOiy85SVuuZYzU9w9uR ijfE6iWV1eTW+nenmwMWx1gVGezkEH/kMA8E7vK7FphBazhginV8ECdLtxRyfyESCPzC J827ePH7whyeHTcA6981PPSP4xZ6wUeh2i1H36bN26+L9hW0TLB4KRLvEry6x/n2FIKq BnTNu5SgLRMoe15LKVW6Qik7brAHvAidujDmq2wREQt1seVYVaIxxAk0ibmyB63mztMI QpSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bLOQLa5Z; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n125si2542546oib.97.2020.03.24.06.45.22; Tue, 24 Mar 2020 06:45:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bLOQLa5Z; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728613AbgCXNoC (ORCPT + 99 others); Tue, 24 Mar 2020 09:44:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:39098 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727817AbgCXNnU (ORCPT ); Tue, 24 Mar 2020 09:43:20 -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 97902208DB; Tue, 24 Mar 2020 13:43:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585057398; bh=BJ2Wn1y+AKLeMhXpjgpfv7bwnUWM8CBInq+znT5z4d8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bLOQLa5ZI7F4/tL6b/EKjsGHyJF//QOyWW9Fk9TylVaqNuoK62cf7u49RjPKdpT6f s+UeyBcAhy+42vt3ZSiA+QDKwmsasQMDet/PXW6GpbtbJETnYS0EfwdimaagDFTCVo yopFRLWHF3WKuKPoMvs/+eWTGTlX1CBbr3/PZ5M0= Received: from mchehab by mail.kernel.org with local (Exim 4.92.3) (envelope-from ) id 1jGjps-0025r6-Lp; Tue, 24 Mar 2020 14:43:16 +0100 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , Ezequiel Garcia Subject: [PATCH v2 06/20] media: Kconfig: use a sub-menu to select supported devices Date: Tue, 24 Mar 2020 14:42:59 +0100 Message-Id: <72a1168a8d48bd603ef1e13350bbc49bdc036544.1585057134.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 | 22 +++++++++++++--------- drivers/media/mmc/Kconfig | 2 +- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig index 18dea82d76d7..e266d1afa912 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. @@ -89,6 +88,10 @@ config MEDIA_CEC_SUPPORT Say Y when you have an HDMI receiver, transmitter or a USB CEC adapter that supports HDMI CEC. +endmenu # media support types + +if MEDIA_SUPPORT + comment "Media core options" source "drivers/media/cec/Kconfig" @@ -177,7 +180,8 @@ source "drivers/media/common/Kconfig" source "drivers/media/platform/Kconfig" source "drivers/media/mmc/Kconfig" -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.24.1