]> git.baikalelectronics.ru Git - kernel.git/commit
fbdev: amba: Link fb device to its parent
authorLoïc Minier <loic.minier@linaro.org>
Mon, 20 Jun 2011 20:44:17 +0000 (20:44 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 24 Jun 2011 08:11:50 +0000 (17:11 +0900)
commitb01c40569e86e36d0074559d89394be2c6459c75
tree061eacbcf385a4818cee1cdeaf0d44ce2a9dbe50
parentb0776009dc34c03f3e4f5111109ff5d99332d057
fbdev: amba: Link fb device to its parent

Some pieces of userspace like debian-installer expect to find the fb0
driver name by readlink-ing /sys/class/graphics/fb0/device/driver but
this was broken with amba-clcd as it sets up fb_info manually and missed
the .device parent pointer.

Signed-off-by: Loïc Minier <loic.minier@linaro.org>
Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/amba-clcd.c