Root/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,12 @@ 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+ boolean "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 comment "LED Triggers"
14 
15 config LEDS_TRIGGERS
16--- a/drivers/leds/Makefile
17+++ b/drivers/leds/Makefile
18@@ -30,6 +30,7 @@ obj-$(CONFIG_LEDS_PWM) += leds-pwm.o
19 
20 # LED SPI Drivers
21 obj-$(CONFIG_LEDS_DAC124S085) += leds-dac124s085.o
22+obj-$(CONFIG_LEDS_GTA02_VIBRATOR) += leds-gta02-vibrator.o
23 
24 # LED Triggers
25 obj-$(CONFIG_LEDS_TRIGGER_TIMER) += ledtrig-timer.o
26

Archive Download this file



interactive