summaryrefslogtreecommitdiff
path: root/drivers/media/platform/sti/c8sectpfe/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/sti/c8sectpfe/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/sti/c8sectpfe/Kconfig')
-rw-r--r--drivers/media/platform/sti/c8sectpfe/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/sti/c8sectpfe/Kconfig b/drivers/media/platform/sti/c8sectpfe/Kconfig
index 369509e03071..702b910509c9 100644
--- a/drivers/media/platform/sti/c8sectpfe/Kconfig
+++ b/drivers/media/platform/sti/c8sectpfe/Kconfig
@@ -1,6 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
config DVB_C8SECTPFE
tristate "STMicroelectronics C8SECTPFE DVB support"
+ depends on DVB_PLATFORM_DRIVERS
depends on PINCTRL && DVB_CORE && I2C
depends on ARCH_STI || ARCH_MULTIPLATFORM || COMPILE_TEST
select FW_LOADER