summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/rockchip/Kconfig
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-01-28 16:48:07 +0300
committerDave Airlie <airlied@gmail.com>2015-01-31 03:11:48 +0300
commit3f70b89c27fe4f9cbef3e697c48024e063233a0d (patch)
tree56f3fe88aaf013929e77a2a8848aee9f1794fa40 /drivers/gpu/drm/rockchip/Kconfig
parent83b37eac7c714b0912cd484772388f8e609e74d8 (diff)
downloadlinux-3f70b89c27fe4f9cbef3e697c48024e063233a0d.tar.xz
drm: rockchip: add reset controller dependency
When the reset controller subsystem is disabled, this driver fails to build: drivers/gpu/drm/rockchip/rockchip_drm_vop.c: In function 'vop_initial': drivers/gpu/drm/rockchip/rockchip_drm_vop.c:1267:2: error: implicit declaration of function 'devm_reset_control_get' [-Werror=implicit-function-declaration] The easiest solution is to add a dependency in Kconfig to avoid that case. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Dave Airlie <airlied@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/rockchip/Kconfig')
-rw-r--r--drivers/gpu/drm/rockchip/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/rockchip/Kconfig b/drivers/gpu/drm/rockchip/Kconfig
index cb21e3821244..35215f6867d3 100644
--- a/drivers/gpu/drm/rockchip/Kconfig
+++ b/drivers/gpu/drm/rockchip/Kconfig
@@ -1,6 +1,7 @@
config DRM_ROCKCHIP
tristate "DRM Support for Rockchip"
depends on DRM && ROCKCHIP_IOMMU
+ depends on RESET_CONTROLLER
select DRM_KMS_HELPER
select DRM_KMS_FB_HELPER
select DRM_PANEL