]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
drm: sti: add panel dependency
authorArnd Bergmann <arnd@arndb.de>
Wed, 28 Jan 2015 13:48:08 +0000 (14:48 +0100)
committerDave Airlie <airlied@gmail.com>
Sat, 31 Jan 2015 00:11:51 +0000 (10:11 +1000)
The newly added sti driver requires the drm_panel helpers,
and we get a link error if they are not enabled

ERROR: "drm_panel_attach" [drivers/gpu/drm/sti/stidvo.ko] undefined!
ERROR: "of_drm_find_panel" [drivers/gpu/drm/sti/stidvo.ko] undefined!

This adds a 'select' statement as we have for the other drivers.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Dave Airlie <airlied@gmail.com>
drivers/gpu/drm/sti/Kconfig

index d6d6b705b8c1c6652387c7d37cfc6b3bcdcbb5bf..20d5f7787667263fa98220375d9b6d2d81f2d265 100644 (file)
@@ -5,6 +5,7 @@ config DRM_STI
        select DRM_KMS_HELPER
        select DRM_GEM_CMA_HELPER
        select DRM_KMS_CMA_HELPER
+       select DRM_PANEL
        select FW_LOADER_USER_HELPER_FALLBACK
        help
          Choose this option to enable DRM on STM stiH41x chipset