give-vibrator-name-no-sniggering.patch

From: warmcat <[EMAIL PROTECTED]>

2.6.24 did not match the vibrator LED device to the right driver

This fixes that and allows control of the vibrator by the following
path:

echo 127 >/sys/bus/platform/devices/neo1973-vibrator.0/leds/neo1973\:vibrator/brightness

Signed-off-by: warmcat <[EMAIL PROTECTED]>
---

 arch/arm/mach-s3c2440/mach-gta02.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/arch/arm/mach-s3c2440/mach-gta02.c b/arch/arm/mach-s3c2440/mach-gta02.c
index dd67127..120ca65 100644
--- a/arch/arm/mach-s3c2440/mach-gta02.c
+++ b/arch/arm/mach-s3c2440/mach-gta02.c
@@ -495,7 +495,7 @@ static struct resource gta01_led_resources[] = {
 };
 
 static struct platform_device gta01_led_dev = {
-	.name		= "gta01-led",
+	.name		= "neo1973-vibrator",
 	.num_resources	= ARRAY_SIZE(gta01_led_resources),
 	.resource	= gta01_led_resources,
 };

Reply via email to