]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/stm: Allow build with COMPILE_TEST=y
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 8 Apr 2024 17:04:26 +0000 (20:04 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 8 May 2024 19:09:06 +0000 (22:09 +0300)
Allow stm to be built with COMPILE_TEST=y for greater
coverage. Builds fine on x86/x86_64 at least.

Cc: Yannick Fertre <yannick.fertre@foss.st.com>
Cc: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Cc: Philippe Cornu <philippe.cornu@foss.st.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240408170426.9285-22-ville.syrjala@linux.intel.com
Acked-by: Raphaël Gallais-Pou <raphael.gallais-pou@foss.st.com>
drivers/gpu/drm/stm/Kconfig

index fa49cde43bb29f82f4481a6ad3ffa201f0d11a79..4c906d602825d479b2407694fcf61a3212e6c3f2 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config DRM_STM
        tristate "DRM Support for STMicroelectronics SoC Series"
-       depends on DRM && ARCH_STM32
+       depends on DRM && (ARCH_STM32 || COMPILE_TEST)
        select DRM_KMS_HELPER
        select DRM_GEM_DMA_HELPER
        select DRM_PANEL_BRIDGE