]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
drm/sti: Allow build with COMPILE_TEST=y
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 8 Apr 2024 17:04:12 +0000 (20:04 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 28 May 2024 18:43:46 +0000 (21:43 +0300)
Allow sti to be built with COMPILE_TEST=y for greater
coverage. Builds fine on x86/x86_64 at least.

Cc: Alain Volmat <alain.volmat@foss.st.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240408170426.9285-8-ville.syrjala@linux.intel.com
Acked-by: Alain Volmat <alain.volmat@foss.st.com>
drivers/gpu/drm/sti/Kconfig

index 3c7a5feff8de18cafa1f9647ed15aad6e1e2cca0..75c301aadcbc2c5246915686162bd91b036228ae 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config DRM_STI
        tristate "DRM Support for STMicroelectronics SoC stiH4xx Series"
-       depends on OF && DRM && ARCH_STI
+       depends on OF && DRM && (ARCH_STI || COMPILE_TEST)
        select RESET_CONTROLLER
        select DRM_KMS_HELPER
        select DRM_GEM_DMA_HELPER