diff options
author | Jean Delvare <jdelvare@suse.de> | 2012-01-31 08:55:21 (GMT) |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-02-01 15:45:34 (GMT) |
commit | 3f7e363249ad5f4070025f6c09fd264f93f24eab (patch) | |
tree | 13e910c81c11971df26ca90183f3fa8b2a033706 /drivers | |
parent | 1b61925061660009f5b8047f93c5297e04541273 (diff) | |
download | linux-3f7e363249ad5f4070025f6c09fd264f93f24eab.tar.xz |
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')
-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 e2a393f..98a8ad6 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); |