]> git.baikalelectronics.ru Git - kernel.git/commit
drm: rockchip: add reset controller dependency
authorArnd Bergmann <arnd@arndb.de>
Wed, 28 Jan 2015 13:48:07 +0000 (14:48 +0100)
committerDave Airlie <airlied@gmail.com>
Sat, 31 Jan 2015 00:11:48 +0000 (10:11 +1000)
commit0fa48ecf7193ec79cf0393166b36c4959fd0c6bc
tree56f3fe88aaf013929e77a2a8848aee9f1794fa40
parentd2edab26fd92bbe1f58995437e3d76ea5044f27e
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>
drivers/gpu/drm/rockchip/Kconfig