浏览代码

sh: landisk: rtc-rs5c313 support.

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>
kogiidena 18 年之前
父节点
当前提交
ad47c12b35
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      arch/sh/boards/landisk/setup.c

+ 6 - 0
arch/sh/boards/landisk/setup.c

@@ -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)