media: Kconfig: include test_drivers with MEDIA_TEST_SUPPORT
authorGuillaume Tucker <guillaume.tucker@collabora.com>
Wed, 15 Apr 2020 13:35:52 +0000 (14:35 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 15 Apr 2020 13:46:10 +0000 (15:46 +0200)
commitffb2e0082cfc77d01e44a9de965ae1adcbc48546
tree98953b32672cd79f0c502cd91eb7a16973965758
parentdf823a8208c434eee6e4e9aa016c956d0968e2e2
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" <bot@kernelci.org>
Fixes: 4b32216adb010 ("media: split test drivers from platform directory")
Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/Kconfig
drivers/media/test_drivers/Kconfig