diff options
author | Egbert Eich <eich@suse.com> | 2013-07-17 15:07:25 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-07-30 09:44:24 +1000 |
commit | 3d5a1c5e300483df005c81c55792268d4a7bff9f (patch) | |
tree | f378fa1bbc1957df3f1f1d1152e899ec2416f96b /drivers/gpu/drm/mgag200 | |
parent | 64c29076646aa0fc094c4b3ea118ea5cb912bfc0 (diff) | |
download | linux-3d5a1c5e300483df005c81c55792268d4a7bff9f.tar.bz2 |
drm/mgag200: Add sysfs support for connectors
Signed-off-by: Egbert Eich <eich@suse.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/mgag200')
-rw-r--r-- | drivers/gpu/drm/mgag200/mgag200_mode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/mgag200/mgag200_mode.c b/drivers/gpu/drm/mgag200/mgag200_mode.c index 2fe1f6469eb3..020a62377ff0 100644 --- a/drivers/gpu/drm/mgag200/mgag200_mode.c +++ b/drivers/gpu/drm/mgag200/mgag200_mode.c @@ -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"); |