Skip to contentSkip to conversation

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

PATCH In review Sean Paul 2 participants 3 messages Jul 30, 2018 – Jul 31, 2018

Subsystems (4)
lore
Share & tools
lore

Sean Paul

author
#0 lore raw

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

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 <[email protected]>
Cc Andrzej Hajda <[email protected]>
Cc Archit Taneja <[email protected]>
Cc Laurent Pinchart <[email protected]>
---
 drivers/gpu/drm/bridge/ti-sn65dsi86.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/bridge/ti-sn65dsi86.c +1 -1
index 5b93ef518861..1b6e8b72be58 100644
@@ -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
Signature · 6 lines
Sean Paul, Software Engineer, Google / Chromium OS

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Reviewed-by on v1 1/1
#1 lore raw
Quoted 29 lines · Sean Paul

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 <[email protected]>
Cc Andrzej Hajda <[email protected]>
Cc Archit Taneja <[email protected]>
Cc Laurent Pinchart <[email protected]>
---
 drivers/gpu/drm/bridge/ti-sn65dsi86.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/bridge/ti-sn65dsi86.c +1 -1
index 5b93ef518861..1b6e8b72be58 100644
@@ -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);
 

drivers/gpu/drm/bridge/ti-sn65dsi86.c static int ti_sn_bridge_attach(struct drm_bridge *bridge) · line 239

Quoted 2 lines
drivers/gpu/drm/bridge/ti-sn65dsi86.c +0 -0
 	/*
 	 * TODO: ideally finding host resource and dsi dev registration needs

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

author Applied
#2 lore raw
Quoted 24 lines · On Tue, Jul 31, 2018 at 09:51:16AM +0530, [email protected] wrote:
Quoted 23 lines · Sean Paul

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 <[email protected]>
Cc Andrzej Hajda <[email protected]>
Cc Archit Taneja <[email protected]>
Cc Laurent Pinchart <[email protected]>
---
 drivers/gpu/drm/bridge/ti-sn65dsi86.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/bridge/ti-sn65dsi86.c +0 -0
index 5b93ef518861..1b6e8b72be58 100644
@@ -233,7 +233,7 @@ static int ti_sn_bridge_attach(struct drm_bridge
 *bridge)
 
Quoted 8 lines
Quoted 7 lines
drivers/gpu/drm/bridge/ti-sn65dsi86.c +1 -1
 	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

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

Sean

Signature · 5 lines
Sean Paul, Software Engineer, Google / Chromium OS
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel