Skip to content

Commit 4bd6578

Browse files
geertuThomas Zimmermann
authored andcommitted
drm: shmobile: Make DRM_SHMOBILE visible on Renesas SoC platforms
The LCD Controller supported by the drm-shmob driver is present on SuperH SH-Mobile SoCs, and on Renesas ARM SH/R-Mobile SoCs. Unfortunately its config option is not visible on either, so the user can never enable the support. Fix this by dropping the dependency on ARM (for SuperH), and by widening the dependency range to ARCH_RENESAS (for ARM). Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Thomas Zimmermann <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Thomas Zimmermann <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/40ac67e0887d833ab4a3f1ec24828dedf0d8e108.1684854992.git.geert+renesas@glider.be
1 parent 79972f1 commit 4bd6578

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/gpu/drm/shmobile/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# SPDX-License-Identifier: GPL-2.0
22
config DRM_SHMOBILE
33
tristate "DRM Support for SH Mobile"
4-
depends on DRM && ARM
5-
depends on ARCH_SHMOBILE || COMPILE_TEST
4+
depends on DRM
5+
depends on ARCH_RENESAS || ARCH_SHMOBILE || COMPILE_TEST
66
select BACKLIGHT_CLASS_DEVICE
77
select DRM_KMS_HELPER
88
select DRM_GEM_DMA_HELPER

0 commit comments

Comments
 (0)