r3576 - branches/src/target/kernel/2.6.24.x/patches
laforge at sita.openmoko.org
laforge at sita.openmoko.org
Wed Dec 5 17:56:36 CET 2007
Author: laforge
Date: 2007-12-05 17:56:31 +0100 (Wed, 05 Dec 2007)
New Revision: 3576
Modified:
branches/src/target/kernel/2.6.24.x/patches/gta02-leds.patch
Log:
gta02-leds: 2.6.24-rc4 merge: led classdev changes
Modified: branches/src/target/kernel/2.6.24.x/patches/gta02-leds.patch
===================================================================
--- branches/src/target/kernel/2.6.24.x/patches/gta02-leds.patch 2007-12-05 16:05:48 UTC (rev 3575)
+++ branches/src/target/kernel/2.6.24.x/patches/gta02-leds.patch 2007-12-05 16:56:31 UTC (rev 3576)
@@ -1,8 +1,8 @@
-Index: linux-2.6.23/drivers/leds/Kconfig
+Index: linux-2.6/drivers/leds/Kconfig
===================================================================
---- linux-2.6.23.orig/drivers/leds/Kconfig
-+++ linux-2.6.23/drivers/leds/Kconfig
-@@ -107,6 +107,12 @@
+--- linux-2.6.orig/drivers/leds/Kconfig
++++ linux-2.6/drivers/leds/Kconfig
+@@ -120,6 +120,12 @@
help
This option enables support for the Vibrator on the FIC Neo1973.
@@ -15,22 +15,22 @@
comment "LED Triggers"
config LEDS_TRIGGERS
-Index: linux-2.6.23/drivers/leds/Makefile
+Index: linux-2.6/drivers/leds/Makefile
===================================================================
---- linux-2.6.23.orig/drivers/leds/Makefile
-+++ linux-2.6.23/drivers/leds/Makefile
-@@ -18,6 +18,7 @@
- obj-$(CONFIG_LEDS_COBALT) += leds-cobalt.o
+--- linux-2.6.orig/drivers/leds/Makefile
++++ linux-2.6/drivers/leds/Makefile
+@@ -20,6 +20,7 @@
obj-$(CONFIG_LEDS_GPIO) += leds-gpio.o
+ obj-$(CONFIG_LEDS_CM_X270) += leds-cm-x270.o
obj-$(CONFIG_LEDS_GTA01) += leds-gta01.o
+obj-$(CONFIG_LEDS_GTA02) += leds-gta02.o
# LED Triggers
obj-$(CONFIG_LEDS_TRIGGER_TIMER) += ledtrig-timer.o
-Index: linux-2.6.23/drivers/leds/leds-gta02.c
+Index: linux-2.6/drivers/leds/leds-gta02.c
===================================================================
--- /dev/null
-+++ linux-2.6.23/drivers/leds/leds-gta02.c
++++ linux-2.6/drivers/leds/leds-gta02.c
@@ -0,0 +1,216 @@
+/*
+ * LED driver for the FIC GTA02 (Neo1973) GSM Phone
@@ -80,7 +80,7 @@
+
+static inline struct gta02_led_bundle *to_bundle(struct led_classdev *led_cdev)
+{
-+ return dev_get_drvdata(led_cdev->class_dev->dev);
++ return dev_get_drvdata(led_cdev->dev);
+}
+
+static void gta02led_set(struct led_classdev *led_cdev,
More information about the commitlog
mailing list