]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/pl111: select DRM_PANEL
authorArnd Bergmann <arnd@arndb.de>
Tue, 30 May 2017 09:22:08 +0000 (11:22 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 31 May 2017 07:32:32 +0000 (09:32 +0200)
commite7cc23de3e4e9222ae4fd24a00583aa5d2ed7610
tree489e94806244d3623ae97add5b0173a09133814a
parent7dbcbce9f55141d775c0a227e55bc78eb1ac672b
drm/pl111: select DRM_PANEL

When DRM_PANEL is disabled, we get a link error for pl111:

drivers/gpu/built-in.o: In function `pl111_connector_destroy':
pl111_connector.c:(.text+0x3487e6): undefined reference to `drm_panel_detach'

For some reason this only appears in the latest linux-next
although the driver appears to have used the symbol for a few
weeks already. The solution however is simple enough, we just
need to add a 'select' statement.

Fixes: bed41005e617 ("drm/pl111: Initial drm/kms driver for pl111")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170530092224.1204037-1-arnd@arndb.de
drivers/gpu/drm/pl111/Kconfig