]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging: fix olpc_dcon build, needs BACKLIGHT_CLASS_DEVICE
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 26 May 2011 02:17:06 +0000 (19:17 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 7 Jun 2011 19:28:39 +0000 (12:28 -0700)
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>
drivers/staging/olpc_dcon/Kconfig

index b05306766870d4f0f8410e5189eba2ace54f9185..fe40e0b6f6752b16b118ebc0940342d89bb559f9 100644 (file)
@@ -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