2023-12-02 20:34:56

by Jean Delvare

[permalink] [raw]
Subject: [PATCH RESEND] drm/logicvc: Drop obsolete dependency on COMPILE_TEST

Since commit 0166dc11be91 ("of: make CONFIG_OF user selectable"), it
is possible to test-build any driver which depends on OF on any
architecture by explicitly selecting OF. Therefore depending on
COMPILE_TEST as an alternative is no longer needed.

Signed-off-by: Jean Delvare <[email protected]>
Reviewed-by: Paul Kocialkowski <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
---
Already sent on: 2022-11-21, 2023-01-27

This is one of the only 4 remaining occurrences of this deprecated
construct.

drivers/gpu/drm/logicvc/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-6.6.orig/drivers/gpu/drm/logicvc/Kconfig
+++ linux-6.6/drivers/gpu/drm/logicvc/Kconfig
@@ -1,7 +1,7 @@
config DRM_LOGICVC
tristate "LogiCVC DRM"
depends on DRM
- depends on OF || COMPILE_TEST
+ depends on OF
select DRM_KMS_HELPER
select DRM_KMS_DMA_HELPER
select DRM_GEM_DMA_HELPER


--
Jean Delvare
SUSE L3 Support