From ffb2e0082cfc77d01e44a9de965ae1adcbc48546 Mon Sep 17 00:00:00 2001 From: Guillaume Tucker Date: Wed, 15 Apr 2020 14:35:52 +0100 Subject: media: Kconfig: include test_drivers with MEDIA_TEST_SUPPORT Include test_drivers/Kconfig when MEDIA_TEST_SUPPORT is enabled rather than MEDIA_PLATFORM_SUPPORT. Test drivers should not depend on platform drivers to be enabled. Reported-by: "kernelci.org bot" Fixes: 4b32216adb010 ("media: split test drivers from platform directory") Signed-off-by: Guillaume Tucker Signed-off-by: Mauro Carvalho Chehab --- drivers/media/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'drivers/media/Kconfig') diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig index 8694e3c6d183..ba24db7eb4d6 100644 --- a/drivers/media/Kconfig +++ b/drivers/media/Kconfig @@ -226,10 +226,13 @@ source "drivers/media/common/Kconfig" if MEDIA_PLATFORM_SUPPORT source "drivers/media/platform/Kconfig" -source "drivers/media/test_drivers/Kconfig" source "drivers/media/mmc/Kconfig" endif +if MEDIA_TEST_SUPPORT +source "drivers/media/test_drivers/Kconfig" +endif + source "drivers/media/firewire/Kconfig" endmenu -- cgit v1.2.3-70-g09d2