Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: fix olpc_dcon build, needs BACKLIGHT_CLASS_DEVICE

Fix olpc_dcon.c build by selecting the needed kconfig symbol
BACKLIGHT_CLASS_DEVICE.

olpc_dcon.c:(.text+0x11588b): undefined reference to `backlight_device_register'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Andres Salomon <dilinger@queued.net>
Cc: Chris Ball <cjb@laptop.org>
Cc: Jon Nettleton <jon.nettleton@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Randy Dunlap and committed by
Greg Kroah-Hartman
91e623de fe35a59e

+1
+1
drivers/staging/olpc_dcon/Kconfig
··· 2 2 tristate "One Laptop Per Child Display CONtroller support" 3 3 depends on OLPC && FB 4 4 select I2C 5 + select BACKLIGHT_CLASS_DEVICE 5 6 ---help--- 6 7 Add support for the OLPC XO DCON controller. This controller is 7 8 only available on OLPC platforms. Unless you have one of these