[PATCH] drm/bridge/tc358764: fix drm helper name

Sean Paul seanpaul at chromium.org
Mon Jul 30 17:50:11 UTC 2018


On Fri, Jul 27, 2018 at 11:48:59AM +0200, Andrzej Hajda wrote:
> Recently drm_mode_connector_attach_encoder changed it's name. The change
> was not noticed by bridge author, as a result gcc reports compile error
> on next branch.
> 
> Fixes: f38b7cca6d0e ("drm/bridge: tc358764: Add DSI to LVDS bridge driver")
> Reported-by: kbuild test robot <lkp at intel.com>
> Signed-off-by: Andrzej Hajda <a.hajda at samsung.com>

Applied to -misc-next

I've also posted a patch for ti-sn65dsi86 which suffers from the same problem.

Sean

> ---
>  drivers/gpu/drm/bridge/tc358764.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/bridge/tc358764.c b/drivers/gpu/drm/bridge/tc358764.c
> index 779bc5fce22a..ee6b98efa9c2 100644
> --- a/drivers/gpu/drm/bridge/tc358764.c
> +++ b/drivers/gpu/drm/bridge/tc358764.c
> @@ -361,7 +361,7 @@ static int tc358764_attach(struct drm_bridge *bridge)
>  
>  	drm_connector_helper_add(&ctx->connector,
>  				 &tc358764_connector_helper_funcs);
> -	drm_mode_connector_attach_encoder(&ctx->connector, bridge->encoder);
> +	drm_connector_attach_encoder(&ctx->connector, bridge->encoder);
>  	drm_panel_attach(ctx->panel, &ctx->connector);
>  	ctx->connector.funcs->reset(&ctx->connector);
>  	drm_fb_helper_add_one_connector(drm->fb_helper, &ctx->connector);
> -- 
> 2.18.0
> 
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

-- 
Sean Paul, Software Engineer, Google / Chromium OS


More information about the dri-devel mailing list