]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: Fix device tree linkage of i2c buses
authorJean Delvare <jdelvare@suse.de>
Sat, 28 Jan 2012 10:10:38 +0000 (11:10 +0100)
committerDave Airlie <airlied@redhat.com>
Mon, 30 Jan 2012 09:32:11 +0000 (09:32 +0000)
commit8ae054470783b49a9a93e8696bbedf6d2dc1125d
tree4e986ab45ce4cc7a6b1ad763a70d761f2330b1b0
parentf501e09350aec1e90e8f53758343dbd62eba2fa3
drm/radeon/kms: Fix device tree linkage of i2c buses

Properly set the parent device of i2c buses before registering them so
that they will show at the right place in the device tree (rather than
in /sys/devices directly.)

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Dave Airlie <airlied@gmail.com>
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_i2c.c