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

Mark yao mark.yao at rock-chips.com
Thu Oct 12 19:28:07 PDT 2017


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 at arndb.de>

Pushed to drm-misc-next

Thanks
Mark




More information about the Linux-rockchip mailing list