aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2440
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2010-12-03 13:00:06 -0500
committerBen Dooks <ben-linux@fluff.org>2010-12-03 13:14:11 -0500
commit2e18edf75d586d9044c1f1e6b1bc8e7c26c4149f (patch)
tree7e4ec088583220d4a37a5a854f880ca378fb6248 /arch/arm/mach-s3c2440
parent4acf89fb3bbb01ba9de4a7cc102e46095a12c94e (diff)
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>
Diffstat (limited to 'arch/arm/mach-s3c2440')
-rw-r--r--arch/arm/mach-s3c2440/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2440/Kconfig b/arch/arm/mach-s3c2440/Kconfig
index ff024a6c0f85..adea6b924cf1 100644
--- a/arch/arm/mach-s3c2440/Kconfig
+++ b/arch/arm/mach-s3c2440/Kconfig
@@ -178,6 +178,9 @@ config MACH_MINI2440
178 bool "MINI2440 development board" 178 bool "MINI2440 development board"
179 select CPU_S3C2440 179 select CPU_S3C2440
180 select EEPROM_AT24 180 select EEPROM_AT24
181 select NEW_LEDS
182 select LEDS_CLASS
183 select LEDS_TRIGGER
181 select LEDS_TRIGGER_BACKLIGHT 184 select LEDS_TRIGGER_BACKLIGHT
182 select S3C_DEV_NAND 185 select S3C_DEV_NAND
183 select S3C_DEV_USB_HOST 186 select S3C_DEV_USB_HOST