Skip to content

Commit cd98e73

Browse files
geertummind
authored andcommitted
drm/rockchip: DRM_ROCKCHIP should depend on ARCH_ROCKCHIP
Rockchip display hardware is only available on Rockchip SoCs. Hence add a dependency on ARCH_ROCKCHIP, to prevent asking the user about this driver when configuring a kernel without Rockchip platform support. Before, this dependency was implicit through a hard dependency on ROCKCHIP_IOMMU. Fixes: 0244539 ("drm/rockchip: Drop ROCKCHIP_IOMMU depend for DRM_ROCKCHIP") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Chaoyi Chen <chaoyi.chen@rock-chips.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://patch.msgid.link/5db192d31cc51f027f107c01c01a353a0569ebf4.1768310045.git.geert+renesas@glider.be
1 parent cea6e6e commit cd98e73

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/gpu/drm/rockchip/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
config DRM_ROCKCHIP
33
tristate "DRM Support for Rockchip"
44
depends on DRM
5+
depends on ARCH_ROCKCHIP || COMPILE_TEST
56
depends on ROCKCHIP_IOMMU || !ROCKCHIP_IOMMU
67
depends on OF
78
select DRM_CLIENT_SELECTION

0 commit comments

Comments
 (0)