From 0e44f0e76da8bf7afef611be0cb3d23c9f9e0590 Mon Sep 17 00:00:00 2001 From: Andrzej Pietrasiewicz Date: Wed, 31 Jul 2019 18:58:21 +0200 Subject: [PATCH] drm/tilcdc: Provide ddc symlink in connector sysfs directory Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz Acked-by: Sam Ravnborg Reviewed-by: Emil Velikov Acked-by: Jyri Sarha Link: https://patchwork.freedesktop.org/patch/msgid/ base; - drm_connector_init(dev, connector, &tfp410_connector_funcs, - DRM_MODE_CONNECTOR_DVID); + drm_connector_init_with_ddc(dev, connector, + &tfp410_connector_funcs, + DRM_MODE_CONNECTOR_DVID, + mod->i2c); drm_connector_helper_add(connector, &tfp410_connector_helper_funcs); connector->polled = DRM_CONNECTOR_POLL_CONNECT |