ARM: mini2440: Fix Kconfig to allow kernel to build
authorBen Dooks <ben-linux@fluff.org>
Fri, 3 Dec 2010 18:00:06 +0000 (18:00 +0000)
committerBen Dooks <ben-linux@fluff.org>
Fri, 3 Dec 2010 18:14:11 +0000 (18:14 +0000)
commit2e18edf75d586d9044c1f1e6b1bc8e7c26c4149f
tree7e4ec088583220d4a37a5a854f880ca378fb6248
parent4acf89fb3bbb01ba9de4a7cc102e46095a12c94e
ARM: mini2440: Fix Kconfig to allow kernel to build

The MACH_MINI2440 entry requires the backlight LED driver, but this
subsystem has not been enabled and the select of LEDS_TRIGGER_BACKLIGHT
alone is insufficient to enable the necessary bits of the LED driver.

Add NEW_LEDS, LEDS_CLASS and LEDS_TRIGGER to the select to allow the
kernel to link.

This fixes the following error:

drivers/built-in.o: In function `led_trigger_set':
/home/ben/linux.git/drivers/leds/led-triggers.c:116: undefined reference to `led_brightness_set'

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/mach-s3c2440/Kconfig