drm/bridge/ti-sn65dsi86: Fix implicit declaration to drm_mode_connector_attach_encoder
authorSean Paul <seanpaul@chromium.org>
Mon, 30 Jul 2018 17:42:21 +0000 (13:42 -0400)
committerSean Paul <seanpaul@chromium.org>
Tue, 31 Jul 2018 13:20:13 +0000 (09:20 -0400)
This function name was changed to drm_connector_attach_encoder().
Unfortunately this driver was posted on the list before that change, and
applied after

Fixes: a095f15c00e2 ("drm/bridge: add support for sn65dsi86 bridge
driver")
Cc: Sandeep Panda <spanda@codeaurora.org>
Cc: Andrzej Hajda <a.hajda@samsung.com>
Cc: Archit Taneja <architt@codeaurora.org>
Cc: Laurent Pinchart <Laurent.pinchart@ideasonboard.com>
Reviewed-by: Sandeep Panda <spanda@codeaurora.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180730174225.257255-1-seanpaul@chromium.org
drivers/gpu/drm/bridge/ti-sn65dsi86.c

index 5b93ef5188610bc8057367d444d4e3cdda7370e1..1b6e8b72be584522b37793dac00c725f47048d98 100644 (file)
@@ -233,7 +233,7 @@ static int ti_sn_bridge_attach(struct drm_bridge *bridge)
 
        drm_connector_helper_add(&pdata->connector,
                                 &ti_sn_bridge_connector_helper_funcs);
-       drm_mode_connector_attach_encoder(&pdata->connector, bridge->encoder);
+       drm_connector_attach_encoder(&pdata->connector, bridge->encoder);
 
        /*
         * TODO: ideally finding host resource and dsi dev registration needs