[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20200415090509.18381-1-guillaume.tucker@collabora.com>
Date: Wed, 15 Apr 2020 10:05:09 +0100
From: Guillaume Tucker <guillaume.tucker@...labora.com>
To: Mauro Carvalho Chehab <mchehab@...nel.org>
Cc: kernel@...labora.com, linux-media@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] 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.
Fixes: 4b32216adb010 ("media: split test drivers from platform directory")
Reported-by: "kernelci.org bot" <bot@...nelci.org>
Signed-off-by: Guillaume Tucker <guillaume.tucker@...labora.com>
---
drivers/media/Kconfig | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index a8def1591352..d926c2603de2 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -238,10 +238,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
--
2.20.1
Powered by blists - more mailing lists