drm/rockchip: add CONFIG_OF dependency for lvds
authorArnd Bergmann <arnd@arndb.de>
Mon, 6 Nov 2017 13:58:43 +0000 (14:58 +0100)
committerSean Paul <seanpaul@chromium.org>
Mon, 6 Nov 2017 15:31:17 +0000 (10:31 -0500)
commit30cfcf01665f3c8d8dc3ebb3dfb1a8248f53404a
tree74abd0fbed080f34995a5694ce0c7c433d8f20f0
parente073db5c5d7ad311efa8f4192a2047b006bbc5f3
drm/rockchip: add CONFIG_OF dependency for lvds

Build-testing on randconfig kernels revealed a dependency in the
newly added lvds sub-driver:

drivers/gpu/drm/rockchip/rockchip_lvds.c: In function 'rockchip_lvds_bind':
drivers/gpu/drm/rockchip/rockchip_lvds.c:380:24: error: 'struct drm_bridge' has no member named 'of_node'
   remote = lvds->bridge->of_node;

We could work around that in the code, adding a Kconfig dependency
seems easier.

Fixes: 34cc0aa25456 ("drm/rockchip: Add support for Rockchip Soc LVDS")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20171106135852.1355487-1-arnd@arndb.de
drivers/gpu/drm/rockchip/Kconfig