[PATCH] staging: fix olpc_dcon build, needs BACKLIGHT_CLASS_DEVICE

Randy Dunlap randy.dunlap at oracle.com
Thu May 26 02:17:06 UTC 2011


From: Randy Dunlap <randy.dunlap at oracle.com>

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 at oracle.com>
Cc: Andres Salomon <dilinger at queued.net>
Cc: Chris Ball <cjb at laptop.org>
Cc: Jon Nettleton <jon.nettleton at gmail.com>
---
 drivers/staging/olpc_dcon/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20110525.orig/drivers/staging/olpc_dcon/Kconfig
+++ linux-next-20110525/drivers/staging/olpc_dcon/Kconfig
@@ -2,6 +2,7 @@ config FB_OLPC_DCON
 	tristate "One Laptop Per Child Display CONtroller support"
 	depends on OLPC && FB
 	select I2C
+	select BACKLIGHT_CLASS_DEVICE
 	---help---
 	  Add support for the OLPC XO DCON controller.  This controller is
 	  only available on OLPC platforms.   Unless you have one of these



More information about the devel mailing list