drm/rockchip: add PINCTRL dependency for LVDS
authorArnd Bergmann <arnd@arndb.de>
Thu, 5 Oct 2017 12:09:39 +0000 (14:09 +0200)
committerMark Yao <mark.yao@rock-chips.com>
Fri, 13 Oct 2017 01:43:16 +0000 (09:43 +0800)
commit479b9db27453aea42bfad92e9466135ae063f326
tree93544a91c873297c73316775a692442dfa44396c
parent7af35b0addbc6b8573e11106dfd3e21adf38f405
drm/rockchip: add PINCTRL dependency for LVDS

The new driver fails to build when CONFIG_PINCTRL is disabled:

drivers/gpu/drm/rockchip/rockchip_lvds.c: In function 'rockchip_lvds_grf_config':
drivers/gpu/drm/rockchip/rockchip_lvds.c:229:39: error: dereferencing pointer to incomplete type 'struct dev_pin_info'
   if (lvds->pins && !IS_ERR(lvds->pins->default_state))

This adds the respective Kconfig dependency.

Fixes: 34cc0aa25456 ("drm/rockchip: Add support for Rockchip Soc LVDS")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Mark Yao <mark.yao@rock-chips.com>
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171005120957.485433-1-arnd@arndb.de
drivers/gpu/drm/rockchip/Kconfig