[-next] drm: pl111: select DRM_PANEL
diff mbox

Message ID 083cf535-e0cc-ffc5-be5f-5a122f9f50fa@infradead.org
State New
Headers show

Commit Message

Randy Dunlap June 6, 2017, 3:27 p.m. UTC
From: Randy Dunlap <rdunlap@infradead.org>

The drm pl111 driver uses drm_panel interfaces so it should select
DRM_PANEL to fix build errors.

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

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
 drivers/gpu/drm/pl111/Kconfig |    1 +
 1 file changed, 1 insertion(+)

Comments

Eric Anholt June 7, 2017, 6:50 p.m. UTC | #1
Randy Dunlap <rdunlap@infradead.org> writes:

> From: Randy Dunlap <rdunlap@infradead.org>
>
> The drm pl111 driver uses drm_panel interfaces so it should select
> DRM_PANEL to fix build errors.
>
> drivers/built-in.o: In function `pl111_connector_destroy':
> pl111_connector.c:(.text+0xc7285): undefined reference to `drm_panel_detach'

This should have been fixed a week ago:

commit e7cc23de3e4e9222ae4fd24a00583aa5d2ed7610
Author:     Arnd Bergmann <arnd@arndb.de>
AuthorDate: Tue May 30 11:22:08 2017 +0200
Commit:     Daniel Vetter <daniel.vetter@ffwll.ch>
CommitDate: Wed May 31 09:32:32 2017 +0200

    drm/pl111: select DRM_PANEL

Patch
diff mbox

--- linux-next-20170606.orig/drivers/gpu/drm/pl111/Kconfig
+++ linux-next-20170606/drivers/gpu/drm/pl111/Kconfig
@@ -3,6 +3,7 @@  config DRM_PL111
 	depends on DRM
 	depends on ARM || ARM64 || COMPILE_TEST
 	depends on COMMON_CLK
+	select DRM_PANEL
 	select DRM_KMS_HELPER
 	select DRM_KMS_CMA_HELPER
 	select DRM_GEM_CMA_HELPER