drm: mxsfb: Select DRM_PANEL
authorMarek Vasut <marex@denx.de>
Wed, 7 Dec 2016 21:23:29 +0000 (22:23 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 8 Dec 2016 00:25:37 +0000 (10:25 +1000)
commit8166255704edea288bb116375b3c2a47af2fe28c
tree63b3691463de4a3845e6b2ea3b5a5de2d2045a6c
parent51007df3836a5b7fde23028f552313f15650cbf5
drm: mxsfb: Select DRM_PANEL

Select DRM_PANEL, since the MXSFB driver depends on it. Otherwise,
we get the following error when compiling:

drivers/built-in.o: In function `mxsfb_probe':
core.c:(.text+0x9ce9c): undefined reference to `drm_panel_attach'
core.c:(.text+0x9cff0): undefined reference to `drm_panel_detach'
drivers/built-in.o: In function `mxsfb_panel_connector_destroy':
core.c:(.text+0x9d614): undefined reference to `drm_panel_detach'
drivers/built-in.o: In function `mxsfb_create_output':
core.c:(.text+0x9d68c): undefined reference to `of_drm_find_panel'
make: *** [Makefile:962: vmlinux] Error 1

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Dave Airlie <airlied@redhat.com>
Reported-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/mxsfb/Kconfig