drm/bridge: ti-sn65dsi86: Fix 0-day build error
authorGuenter Roeck <groeck@chromium.org>
Wed, 15 Aug 2018 19:49:14 +0000 (15:49 -0400)
committerSean Paul <seanpaul@chromium.org>
Thu, 16 Aug 2018 15:26:37 +0000 (11:26 -0400)
commitd2c53b337ef53bb874d4be076b6d51ae1498ab2a
treef5e77e5fd57e979e1a5bee33ccc4d5b32382e57f
parent103c1944c6ae6d951b61c962f2d9901c465cabc7
drm/bridge: ti-sn65dsi86: Fix 0-day build error

0day reports:

>> drivers/gpu/drm/bridge/ti-sn65dsi86.o: In function
mipi_dsi_detach'
>> drivers/gpu/drm/bridge/ti-sn65dsi86.c:630: undefined reference to
ti_sn_bridge_attach':
>> drivers/gpu/drm/bridge/ti-sn65dsi86.c:249: undefined reference to
mipi_dsi_device_register_full'
>> drivers/gpu/drm/bridge/ti-sn65dsi86.c:276: undefined reference to
mipi_dsi_device_unregister'

Quite obviously the driver depends on DRM_MIPI_DSI.
We can not use depends since the driver configuration uses select,
so we'll have to select the missing dependency instead.

Cc: Sean Paul <seanpaul@chromium.org>
Cc: Dylan Reid <dgreid@chromium.org>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Guenter Roeck <groeck@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180815194923.3258-1-sean@poorly.run
drivers/gpu/drm/bridge/Kconfig