aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorArnaud Patard <arnaud.patard@rtp-net.org>2007-02-12 18:50:34 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-02-14 10:04:20 -0500
commitd2a76020e3a52c6370a7d603082b4cdb3db0703e (patch)
tree890a50f56fb5e4f0b150fa8677c439f463271e64 /arch
parentecd1b171a76bb73196dbce4da9f64a4a0a9d098f (diff)
[ARM] 4176/1: H1940 leds
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-s3c2410/mach-h1940.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2410/mach-h1940.c b/arch/arm/mach-s3c2410/mach-h1940.c
index 68f11efdd140..2b495b7b427b 100644
--- a/arch/arm/mach-s3c2410/mach-h1940.c
+++ b/arch/arm/mach-s3c2410/mach-h1940.c
@@ -175,6 +175,11 @@ static struct s3c2410fb_mach_info h1940_lcdcfg __initdata = {
175 .bpp= {16,16,16}, 175 .bpp= {16,16,16},
176}; 176};
177 177
178static struct platform_device s3c_device_leds = {
179 .name = "h1940-leds",
180 .id = -1,
181};
182
178static struct platform_device *h1940_devices[] __initdata = { 183static struct platform_device *h1940_devices[] __initdata = {
179 &s3c_device_usb, 184 &s3c_device_usb,
180 &s3c_device_lcd, 185 &s3c_device_lcd,
@@ -182,6 +187,7 @@ static struct platform_device *h1940_devices[] __initdata = {
182 &s3c_device_i2c, 187 &s3c_device_i2c,
183 &s3c_device_iis, 188 &s3c_device_iis,
184 &s3c_device_usbgadget, 189 &s3c_device_usbgadget,
190 &s3c_device_leds,
185}; 191};
186 192
187static struct s3c24xx_board h1940_board __initdata = { 193static struct s3c24xx_board h1940_board __initdata = {