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>
This commit is contained in:
Randy Dunlap 2011-05-25 19:17:06 -07:00 committed by Greg Kroah-Hartman
parent fe35a59e16
commit 91e623decc
1 changed files with 1 additions and 0 deletions

View File

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