Skip to content

Commit ad085b3

Browse files
rddunlaprobertfoss
authored andcommitted
drm: bridge: fix LONTIUM use of mipi_dsi_() functions
The Lontium DRM bridge drivers use mipi_dsi_() function interfaces so they need to select DRM_MIPI_DSI to prevent build errors. ERROR: modpost: "mipi_dsi_attach" [drivers/gpu/drm/bridge/lontium-lt9611uxc.ko] undefined! ERROR: modpost: "mipi_dsi_device_register_full" [drivers/gpu/drm/bridge/lontium-lt9611uxc.ko] undefined! ERROR: modpost: "of_find_mipi_dsi_host_by_node" [drivers/gpu/drm/bridge/lontium-lt9611uxc.ko] undefined! ERROR: modpost: "mipi_dsi_device_unregister" [drivers/gpu/drm/bridge/lontium-lt9611uxc.ko] undefined! ERROR: modpost: "mipi_dsi_detach" [drivers/gpu/drm/bridge/lontium-lt9611uxc.ko] undefined! ERROR: modpost: "mipi_dsi_attach" [drivers/gpu/drm/bridge/lontium-lt9611.ko] undefined! ERROR: modpost: "mipi_dsi_device_register_full" [drivers/gpu/drm/bridge/lontium-lt9611.ko] undefined! ERROR: modpost: "of_find_mipi_dsi_host_by_node" [drivers/gpu/drm/bridge/lontium-lt9611.ko] undefined! ERROR: modpost: "mipi_dsi_device_unregister" [drivers/gpu/drm/bridge/lontium-lt9611.ko] undefined! ERROR: modpost: "mipi_dsi_detach" [drivers/gpu/drm/bridge/lontium-lt9611.ko] undefined! WARNING: modpost: suppressed 5 unresolved symbol warnings because there were too many) Fixes: 23278bf ("drm/bridge: Introduce LT9611 DSI to HDMI bridge") Fixes: 0cbbd5b ("drm: bridge: add support for lontium LT9611UXC bridge") Fixes: 30e2ae9 ("drm/bridge: Introduce LT8912B DSI to HDMI bridge") Reported-by: kernel test robot <[email protected]> Signed-off-by: Randy Dunlap <[email protected]> Reviewed-by: Adren Grassein <[email protected]> Cc: Dmitry Baryshkov <[email protected]> Cc: Sam Ravnborg <[email protected]> Cc: Vinod Koul <[email protected]> Cc: Bjorn Andersson <[email protected]> Cc: Srinivas Kandagatla <[email protected]> Cc: Adrien Grassein <[email protected]> Cc: Andrzej Hajda <[email protected]> Cc: Neil Armstrong <[email protected]> Cc: Robert Foss <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Robert Foss <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent ed01fca commit ad085b3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/gpu/drm/bridge/Kconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ config DRM_LONTIUM_LT8912B
6666
depends on OF
6767
select DRM_PANEL_BRIDGE
6868
select DRM_KMS_HELPER
69+
select DRM_MIPI_DSI
6970
select REGMAP_I2C
7071
help
7172
Driver for Lontium LT8912B DSI to HDMI bridge
@@ -81,6 +82,7 @@ config DRM_LONTIUM_LT9611
8182
depends on OF
8283
select DRM_PANEL_BRIDGE
8384
select DRM_KMS_HELPER
85+
select DRM_MIPI_DSI
8486
select REGMAP_I2C
8587
help
8688
Driver for Lontium LT9611 DSI to HDMI bridge
@@ -94,6 +96,7 @@ config DRM_LONTIUM_LT9611UXC
9496
depends on OF
9597
select DRM_PANEL_BRIDGE
9698
select DRM_KMS_HELPER
99+
select DRM_MIPI_DSI
97100
select REGMAP_I2C
98101
help
99102
Driver for Lontium LT9611UXC DSI to HDMI bridge

0 commit comments

Comments
 (0)