From: Ville Syrjälä <[email protected]>

Allow DRM_INGENIC_DW_HDMI to be built with COMPILE_TEST=y for greater
coverage. The rest of the ingenic driver already allows this. Builds
fine on x86, x86_64, arm and arm64 at least.

Cc: Paul Cercueil <[email protected]>
Cc: [email protected]
Signed-off-by: Ville Syrjälä <[email protected]>
---
 drivers/gpu/drm/ingenic/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/ingenic/Kconfig b/drivers/gpu/drm/ingenic/Kconfig
index 987ed42f6f7a..60bff9ebee5d 100644
--- a/drivers/gpu/drm/ingenic/Kconfig
+++ b/drivers/gpu/drm/ingenic/Kconfig
@@ -31,7 +31,7 @@ config DRM_INGENIC_IPU
 
 config DRM_INGENIC_DW_HDMI
        tristate "Ingenic specific support for Synopsys DW HDMI"
-       depends on MACH_JZ4780
+       depends on MACH_JZ4780 || COMPILE_TEST
        select DRM_DW_HDMI
        help
          Choose this option to enable Synopsys DesignWare HDMI based driver.
-- 
2.56.0

Reply via email to