diff mbox series

drm/bridge/ti-sn65dsi86: Fix implicit declaration to drm_mode_connector_attach_encoder

Message ID 20180730174225.257255-1-seanpaul@chromium.org (mailing list archive)
State New, archived
Headers show
Series drm/bridge/ti-sn65dsi86: Fix implicit declaration to drm_mode_connector_attach_encoder | expand

Commit Message

Sean Paul July 30, 2018, 5:42 p.m. UTC
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>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
---
 drivers/gpu/drm/bridge/ti-sn65dsi86.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Sandeep Panda July 31, 2018, 4:21 a.m. UTC | #1
On 2018-07-30 23:12, Sean Paul wrote:
> 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>
> Signed-off-by: Sean Paul <seanpaul@chromium.org>
> ---
>  drivers/gpu/drm/bridge/ti-sn65dsi86.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/bridge/ti-sn65dsi86.c
> b/drivers/gpu/drm/bridge/ti-sn65dsi86.c
> index 5b93ef518861..1b6e8b72be58 100644
> --- a/drivers/gpu/drm/bridge/ti-sn65dsi86.c
> +++ b/drivers/gpu/drm/bridge/ti-sn65dsi86.c
> @@ -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
Reviewed-by: Sandeep Panda <spanda@codeaurora.org>
Sean Paul July 31, 2018, 1:31 p.m. UTC | #2
On Tue, Jul 31, 2018 at 09:51:16AM +0530, spanda@codeaurora.org wrote:
> On 2018-07-30 23:12, Sean Paul wrote:
> > 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>
> > Signed-off-by: Sean Paul <seanpaul@chromium.org>
> > ---
> >  drivers/gpu/drm/bridge/ti-sn65dsi86.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/drivers/gpu/drm/bridge/ti-sn65dsi86.c
> > b/drivers/gpu/drm/bridge/ti-sn65dsi86.c
> > index 5b93ef518861..1b6e8b72be58 100644
> > --- a/drivers/gpu/drm/bridge/ti-sn65dsi86.c
> > +++ b/drivers/gpu/drm/bridge/ti-sn65dsi86.c
> > @@ -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
> Reviewed-by: Sandeep Panda <spanda@codeaurora.org>

Applied to drm-misc-next. Thanks for your review!

Sean
diff mbox series

Patch

diff --git a/drivers/gpu/drm/bridge/ti-sn65dsi86.c b/drivers/gpu/drm/bridge/ti-sn65dsi86.c
index 5b93ef518861..1b6e8b72be58 100644
--- a/drivers/gpu/drm/bridge/ti-sn65dsi86.c
+++ b/drivers/gpu/drm/bridge/ti-sn65dsi86.c
@@ -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