Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3d5a1c5e authored by Egbert Eich's avatar Egbert Eich Committed by Dave Airlie
Browse files

drm/mgag200: Add sysfs support for connectors



Signed-off-by: default avatarEgbert Eich <eich@suse.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 64c29076
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1600,6 +1600,8 @@ static struct drm_connector *mga_vga_init(struct drm_device *dev)

	drm_connector_helper_add(connector, &mga_vga_connector_helper_funcs);

	drm_sysfs_connector_add(connector);

	mga_connector->i2c = mgag200_i2c_create(dev);
	if (!mga_connector->i2c)
		DRM_ERROR("failed to add ddc bus\n");