]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: lvds-encoder: Fix build error while CONFIG_DRM_KMS_HELPER=m
authorYueHaibing <yuehaibing@huawei.com>
Mon, 29 Jul 2019 07:12:16 +0000 (15:12 +0800)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 30 Jul 2019 12:40:17 +0000 (14:40 +0200)
commitcd9fd7175a0ff6eb8778af573f3e2737b25a7a2b
tree24f5200dedb22d3f1d161dc28d8322c62ec6b2c2
parent7672558e9f4695aaf9f9dd333c0a22aeb59008d3
drm/bridge: lvds-encoder: Fix build error while CONFIG_DRM_KMS_HELPER=m

If DRM_LVDS_ENCODER=y but CONFIG_DRM_KMS_HELPER=m,
build fails:

drivers/gpu/drm/bridge/lvds-encoder.o: In function `lvds_encoder_probe':
lvds-encoder.c:(.text+0x155): undefined reference to `devm_drm_panel_bridge_add'

Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: 96c385e10896 ("drm/bridge: Fix lvds-encoder since the panel_bridge rework.")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190729071216.27488-1-yuehaibing@huawei.com
drivers/gpu/drm/bridge/Kconfig