Skip to contentSkip to conversation

ARM: shmobile: Drop DU deps to allow 64-bit build

PATCH In review Magnus Damm 2 participants 2 messages Feb 19, 2015

Subsystems (4)
lore
Share & tools
lore

Magnus Damm

author maintainer
#0 lore raw

PATCH 1/2 ARM: shmobile: Drop DU deps to allow 64-bit build

From: Magnus Damm <[email protected]>

Allow building the DU driver on any architecture. Not for upstream merge.

Not-yet-Signed-off-by Magnus Damm <[email protected]>

---

 drivers/gpu/drm/rcar-du/Kconfig |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/rcar-du/Kconfig +1 -2
@@ -1,7 +1,6 @@
 config DRM_RCAR_DU
 	tristate "DRM Support for R-Car Display Unit"
-	depends on DRM && ARM
-	depends on ARCH_SHMOBILE || COMPILE_TEST
+	depends on DRM
 	select DRM_KMS_HELPER
 	select DRM_KMS_CMA_HELPER
 	select DRM_GEM_CMA_HELPER
#1 lore raw

Hi Magnus,

drivers/gpu/drm/rcar-du/Kconfig 2015-02-19 05:59:44.585533280 +0900 line 3

Quoted 6 lines · Magnus Damm
drivers/gpu/drm/rcar-du/Kconfig 2015-02-19 05:59:44.585533280 +0900 renamed from drivers/gpu/drm/rcar-du/Kconfig +0 -1
@@ -1,7 +1,6 @@
 config DRM_RCAR_DU
        tristate "DRM Support for R-Car Display Unit"
-       depends on DRM && ARM

If it already builds fine on other architectures, you can just drop the dependency
on ARM above? After that, people can enable COMPILE_TEST to get access to this driver.

drivers/gpu/drm/rcar-du/Kconfig 2015-02-19 05:59:44.585533280 +0900 line 6

Quoted 5 lines
drivers/gpu/drm/rcar-du/Kconfig 2015-02-19 05:59:44.585533280 +0900 renamed from drivers/gpu/drm/rcar-du/Kconfig +1 -1
-       depends on ARCH_SHMOBILE || COMPILE_TEST
+       depends on DRM
        select DRM_KMS_HELPER
        select DRM_KMS_CMA_HELPER
        select DRM_GEM_CMA_HELPER

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds