@@ -662,8 +662,7 @@ struct drm_bridge *msm_dsi_manager_bridge_init(u8 id)
encoder = msm_dsi->encoder;
bridge = &dsi_bridge->base;
- bridge->funcs = &dsi_mgr_bridge_funcs;
-
+ drm_bridge_init(bridge, msm_dsi->dev->dev, &dsi_mgr_bridge_funcs, NULL);
ret = drm_bridge_attach(encoder, bridge, NULL);
if (ret)
goto fail;
@@ -95,8 +95,7 @@ struct drm_bridge *msm_edp_bridge_init(struct msm_edp *edp)
edp_bridge->edp = edp;
bridge = &edp_bridge->base;
- bridge->funcs = &edp_bridge_funcs;
-
+ drm_bridge_init(bridge, edp->dev->dev, &edp_bridge_funcs, NULL);
ret = drm_bridge_attach(edp->encoder, bridge, NULL);
if (ret)
goto fail;
@@ -285,8 +285,7 @@ struct drm_bridge *msm_hdmi_bridge_init(struct hdmi *hdmi)
hdmi_bridge->hdmi = hdmi;
bridge = &hdmi_bridge->base;
- bridge->funcs = &msm_hdmi_bridge_funcs;
-
+ drm_bridge_init(bridge, hdmi->dev->dev, &msm_hdmi_bridge_funcs, NULL);
ret = drm_bridge_attach(hdmi->encoder, bridge, NULL);
if (ret)
goto fail;