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

Allow adp to be built with COMPILE_TEST=y for greater coverage. Builds
fine on x86, x86_64, arm and arm64 at least.

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

diff --git a/drivers/gpu/drm/adp/Kconfig b/drivers/gpu/drm/adp/Kconfig
index acfa21ee06d2..6073aa6b46a4 100644
--- a/drivers/gpu/drm/adp/Kconfig
+++ b/drivers/gpu/drm/adp/Kconfig
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0-only OR MIT
 config DRM_ADP
        tristate "DRM Support for pre-DCP Apple display controllers"
-       depends on DRM && OF && ARM64
+       depends on DRM && OF && (ARM64 || COMPILE_TEST)
        depends on ARCH_APPLE || COMPILE_TEST
        select DRM_KMS_HELPER
        select DRM_BRIDGE_CONNECTOR
-- 
2.56.0

Reply via email to