summaryrefslogtreecommitdiff
path: root/drivers/media/platform/cadence/Kconfig
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@kernel.org>2022-03-11 11:21:45 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-03-14 09:42:59 +0100
commit256bf685691d86462a62e1d7041385baf0dfe595 (patch)
tree3620219d28bdfbb5d9f6011fe5890d35f1412eef /drivers/media/platform/cadence/Kconfig
parentf7fb2414db9e054f8e8709184dadbda7bc040da5 (diff)
media: platform: move platform menu dependencies to drivers
Right now, platform dependencies are organized by the type of the platform driver. Yet, things tend to become very messy with time. The better seems to organize the drivers per manufacturer, as other Kernel subsystems are doing. As a preparation for such purpose, get rid of menuconfigs, moving the per-menu dependencies to be at the driver-specifig config entires. This shoud give flexibility to reorganize the platform drivers per manufacturer and re-sort them. This patch removes all "if..endif" options from the platform Kconfig, converting them into depends on. Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/platform/cadence/Kconfig')
-rw-r--r--drivers/media/platform/cadence/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/cadence/Kconfig b/drivers/media/platform/cadence/Kconfig
index 80cf601323ce..79a7e9fb2575 100644
--- a/drivers/media/platform/cadence/Kconfig
+++ b/drivers/media/platform/cadence/Kconfig
@@ -1,6 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
config VIDEO_CADENCE
bool "Cadence Video Devices"
+ depends on V4L_PLATFORM_DRIVERS
help
If you have a media device designed by Cadence, say Y.