]> err.no Git - linux-2.6/commitdiff
sh: landisk: rtc-rs5c313 support.
authorkogiidena <kogiidena@eggplant.ddo.jp>
Sat, 12 May 2007 11:24:15 +0000 (20:24 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 14 May 2007 00:18:34 +0000 (09:18 +0900)
Add the rs5c313 platform device to the landisk setup code.

Signed-off-by: kogiidena <kogiidena@eggplant.ddo.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/landisk/setup.c

index 4058b4f50d44eda199717a64d09fc2e2169545ba..f953c74277695bed996d85e12e3888ba25f19592 100644 (file)
@@ -44,8 +44,14 @@ static struct platform_device cf_ide_device = {
        },
 };
 
+static struct platform_device rtc_device = {
+       .name           = "rs5c313",
+       .id             = -1,
+};
+
 static struct platform_device *landisk_devices[] __initdata = {
        &cf_ide_device,
+       &rtc_device,
 };
 
 static int __init landisk_devices_setup(void)