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,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 D7D04C54FCE for ; Tue, 24 Mar 2020 10:15:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A863E20719 for ; Tue, 24 Mar 2020 10:15:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585044933; bh=PMZLvau6l0DTq6hZbaVXDrSebT6xY40VOvUd+dhMy3g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=mo9aY9R3pJkJf9izwm/DWldj1rg6J5TYDJA6+wy9RxaHOhPZufxgc7NgPXkWyOT9b RV0gqBBMhdxxbf1YC8tWadK6+ol2d2iSBZrPjBYQnrgkQIpIC+vbR85I1zeqLfBe6a FIfkBo5RSK4fiVwCPFngylTYEIY/MKMvIy5H+ex8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727297AbgCXKPZ (ORCPT ); Tue, 24 Mar 2020 06:15:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:49256 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727124AbgCXKPY (ORCPT ); Tue, 24 Mar 2020 06:15:24 -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 F290620842; Tue, 24 Mar 2020 10:15:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585044924; bh=PMZLvau6l0DTq6hZbaVXDrSebT6xY40VOvUd+dhMy3g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=y67ysyZb7bopawB7MCN+ln3cDzwVvbDbzX78LIfjdT7IJHbob7+TS7dNCJyewuq1x DBuCGDtgJWj2Td1q8tZ0yCrU9hOWW6q8Tx9njI9+oZhJy71Pjl9IPDaqrop/IZX4tF xNyBrDJ2JT+0NCztA49cfDlPUW+gffiqaAJgkezs= Received: from mchehab by mail.kernel.org with local (Exim 4.92.3) (envelope-from ) id 1jGgag-001pjN-80; Tue, 24 Mar 2020 11:15:22 +0100 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet Subject: [PATCH 2/8] media: Kconfig: not all V4L2 platform drivers are for camera Date: Tue, 24 Mar 2020 11:15:15 +0100 Message-Id: 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 When the platform drivers got added, they were all part of complex camera support. This is not the case anymore, as we now have codecs and other stuff there too. So, fix the dependencies, in order to not require users to manually select something that it doesn't make sense. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/Kconfig | 3 +-- drivers/media/platform/Kconfig | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig index 9dfea5c4b6ab..4af21fa73fcf 100644 --- a/drivers/media/Kconfig +++ b/drivers/media/Kconfig @@ -99,8 +99,7 @@ source "drivers/media/mc/Kconfig" config VIDEO_DEV tristate depends on MEDIA_SUPPORT - depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT - default y + default MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT || V4L_PLATFORM_DRIVERS config VIDEO_V4L2_SUBDEV_API bool "V4L2 sub-device userspace API" diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index e01bbb9dd1c1..34f40c2c8c45 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -5,7 +5,6 @@ menuconfig V4L_PLATFORM_DRIVERS bool "V4L platform devices" - depends on MEDIA_CAMERA_SUPPORT help Say Y here to enable support for platform-specific V4L drivers. -- 2.24.1