mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
drm/mgag200: Add sysfs support for connectors
Signed-off-by: Egbert Eich <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
This commit is contained in:
parent
64c2907664
commit
3d5a1c5e30
1 changed files with 2 additions and 0 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue