projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64c2907
)
drm/mgag200: Add sysfs support for connectors
author
Egbert Eich
<eich@suse.com>
Wed, 17 Jul 2013 13:07:25 +0000
(15:07 +0200)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 29 Jul 2013 23:44:24 +0000
(09:44 +1000)
Signed-off-by: Egbert Eich <eich@suse.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/mgag200/mgag200_mode.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/mgag200/mgag200_mode.c
b/drivers/gpu/drm/mgag200/mgag200_mode.c
index 2fe1f6469eb3dc4fc04e148df47eb4ffd475f168..020a62377ff0c980b42e80ef6143351919c65476 100644
(file)
--- 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");