MINI2440: Enable the backlight LED earlier at boot time
authorMichel Pollet <buserror@gmail.com>
Wed, 25 Mar 2009 17:19:14 +0000 (25 17:19 +0000)
committerMichel Pollet <buserror@gmail.com>
Sun, 22 Nov 2009 15:16:14 +0000 (22 15:16 +0000)
Makes use of the new flag that allows s3c24xx LED to start in the "on" state

Signed-off-by: Michel Pollet <buserror@gmail.com>
arch/arm/mach-s3c2440/mach-mini2440.c

index 1c3382f..8a78afb 100644 (file)
@@ -430,6 +430,7 @@ static struct s3c24xx_led_platdata mini2440_led4_pdata __initdata = {
 static struct s3c24xx_led_platdata mini2440_led_backlight_pdata __initdata = {
        .name           = "backlight",
        .gpio           = S3C2410_GPG(4),
+       .flags          = S3C24XX_LEDF_STARTON,
        .def_trigger    = "backlight",
 };