Skip to content

Commit

Permalink
drm/mgag200: Add sysfs support for connectors
Browse files Browse the repository at this point in the history
Signed-off-by: Egbert Eich <eich@suse.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Egbert Eich authored and Dave Airlie committed Jul 29, 2013
1 parent 64c2907 commit 3d5a1c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/mgag200/mgag200_mode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 3d5a1c5

Please sign in to comment.