[ARM] 4176/1: H1940 leds
authorArnaud Patard <arnaud.patard@rtp-net.org>
Mon, 12 Feb 2007 23:50:34 +0000 (00:50 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 14 Feb 2007 15:04:20 +0000 (15:04 +0000)
H1940 leds device addition.

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Acked-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-s3c2410/mach-h1940.c

index 68f11efdd140c15e4c3de5cefef206a0311b5a8c..2b495b7b427b45cce4e340c0dbaae48f01c401cc 100644 (file)
@@ -175,6 +175,11 @@ static struct s3c2410fb_mach_info h1940_lcdcfg __initdata = {
        .bpp=           {16,16,16},
 };
 
+static struct platform_device s3c_device_leds = {
+       .name             = "h1940-leds",
+       .id               = -1,
+};
+
 static struct platform_device *h1940_devices[] __initdata = {
        &s3c_device_usb,
        &s3c_device_lcd,
@@ -182,6 +187,7 @@ static struct platform_device *h1940_devices[] __initdata = {
        &s3c_device_i2c,
        &s3c_device_iis,
        &s3c_device_usbgadget,
+       &s3c_device_leds,
 };
 
 static struct s3c24xx_board h1940_board __initdata = {