diff options
author | Jean Delvare <jdelvare@suse.de> | 2012-01-31 09:55:21 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-02-01 16:45:34 +0100 |
commit | 3f7e363249ad5f4070025f6c09fd264f93f24eab (patch) | |
tree | 13e910c81c11971df26ca90183f3fa8b2a033706 /drivers/gpu/drm/radeon/radeon_i2c.c | |
parent | drm/radeon: Set DESKTOP_HEIGHT register to the framebuffer (not mode) height. (diff) | |
download | linux-3f7e363249ad5f4070025f6c09fd264f93f24eab.tar.xz linux-3f7e363249ad5f4070025f6c09fd264f93f24eab.zip |
drm/radeon/kms: Fix device tree linkage of DP i2c buses too
Properly set the parent device of DP i2c buses before registering them
too.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_i2c.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_i2c.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_i2c.c b/drivers/gpu/drm/radeon/radeon_i2c.c index e2a393ff0c44..98a8ad680109 100644 --- a/drivers/gpu/drm/radeon/radeon_i2c.c +++ b/drivers/gpu/drm/radeon/radeon_i2c.c @@ -958,6 +958,7 @@ struct radeon_i2c_chan *radeon_i2c_create_dp(struct drm_device *dev, i2c->rec = *rec; i2c->adapter.owner = THIS_MODULE; i2c->adapter.class = I2C_CLASS_DDC; + i2c->adapter.dev.parent = &dev->pdev->dev; i2c->dev = dev; snprintf(i2c->adapter.name, sizeof(i2c->adapter.name), "Radeon aux bus %s", name); |