Re: [PATCH] drm/rockchip: add PINCTRL dependency for LVDS

From: Mark yao
Date: Thu Oct 12 2017 - 22:28:23 EST


On 2017å10æ05æ 20:09, Arnd Bergmann wrote:
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@xxxxxxxx>

Pushed to drm-misc-next

Thanks
Mark