summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/arc/arcpgu_sim.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/arc/arcpgu_sim.c')
-rw-r--r--drivers/gpu/drm/arc/arcpgu_sim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/arc/arcpgu_sim.c b/drivers/gpu/drm/arc/arcpgu_sim.c
index b8f6f9a5dfbe..68629e614990 100644
--- a/drivers/gpu/drm/arc/arcpgu_sim.c
+++ b/drivers/gpu/drm/arc/arcpgu_sim.c
@@ -99,7 +99,7 @@ int arcpgu_drm_sim_init(struct drm_device *drm, struct device_node *np)
goto error_encoder_cleanup;
}
- ret = drm_mode_connector_attach_encoder(connector, encoder);
+ ret = drm_connector_attach_encoder(connector, encoder);
if (ret < 0) {
dev_err(drm->dev, "could not attach connector to encoder\n");
drm_connector_unregister(connector);