update to 2.6.30-rc7
[openwrt-10.03/.git] / target / linux / s3c24xx / patches-2.6.30 / 055-gta02-leds.patch
1 --- a/drivers/leds/Kconfig
2 +++ b/drivers/leds/Kconfig
3 @@ -227,6 +227,19 @@ config LEDS_BD2802
4           This option enables support for BD2802GU RGB LED driver chips
5           accessed via the I2C bus.
6  
7 +config LEDS_GTA02_VIBRATOR
8 +       tristate "Vibrator Support for the Openmoko Freerunner GSM phone"
9 +       depends on LEDS_CLASS && MACH_NEO1973_GTA02
10 +       help
11 +         This option enables support for the vibrator on the Openmoko Freerunner.
12 +
13 +config LEDS_GTA02
14 +       tristate "LED Support for the Openmoko Freerunner GSM phone"
15 +       depends on LEDS_CLASS && MACH_NEO1973_GTA02
16 +       help
17 +         This option enables support for the LEDs on the Openmoko Freerunner.
18 +
19 +
20  comment "LED Triggers"
21  
22  config LEDS_TRIGGERS
23 --- a/drivers/leds/Makefile
24 +++ b/drivers/leds/Makefile
25 @@ -30,6 +30,8 @@ obj-$(CONFIG_LEDS_PWM)                        += leds-pwm.o
26  
27  # LED SPI Drivers
28  obj-$(CONFIG_LEDS_DAC124S085)          += leds-dac124s085.o
29 +obj-$(CONFIG_LEDS_GTA02_VIBRATOR)      += leds-gta02-vibrator.o
30 +obj-$(CONFIG_LEDS_GTA02)       += leds-gta02.o
31  
32  # LED Triggers
33  obj-$(CONFIG_LEDS_TRIGGER_TIMER)       += ledtrig-timer.o