]> err.no Git - linux-2.6/commitdiff
[ARM] 4059/1: VR1000: fix LED3's platform device number
authorBen Dooks <ben-linux@fluff.org>
Tue, 19 Dec 2006 18:10:13 +0000 (19:10 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 19 Dec 2006 19:48:54 +0000 (19:48 +0000)
LED 3 should have been registered with the
platform deviceid of 3, instead of 1 (which
was used for LED 1).

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-s3c2410/mach-vr1000.c

index e2eda3937ab08915ca1c98b4c3abbfb50567be9e..a382fc095110ec21b9b07563a0b140893e40db98 100644 (file)
@@ -352,7 +352,7 @@ static struct platform_device vr1000_led2 = {
 
 static struct platform_device vr1000_led3 = {
        .name           = "s3c24xx_led",
-       .id             = 1,
+       .id             = 3,
        .dev            = {
                .platform_data  = &vr1000_led3_pdata,
        },