diff options
author | kogiidena <kogiidena@eggplant.ddo.jp> | 2007-05-12 07:24:15 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-05-13 20:18:34 -0400 |
commit | ad47c12b3596269b975c21fba8f3cf09befdc1f2 (patch) | |
tree | d05aa49eff18c54a7fff7d35deaeb3f9109394ad /arch/sh | |
parent | 38c425f69c8d949620384f917e00652eaf390ec9 (diff) |
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>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/boards/landisk/setup.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/sh/boards/landisk/setup.c b/arch/sh/boards/landisk/setup.c index 4058b4f50d44..f953c7427769 100644 --- a/arch/sh/boards/landisk/setup.c +++ b/arch/sh/boards/landisk/setup.c | |||
@@ -44,8 +44,14 @@ static struct platform_device cf_ide_device = { | |||
44 | }, | 44 | }, |
45 | }; | 45 | }; |
46 | 46 | ||
47 | static struct platform_device rtc_device = { | ||
48 | .name = "rs5c313", | ||
49 | .id = -1, | ||
50 | }; | ||
51 | |||
47 | static struct platform_device *landisk_devices[] __initdata = { | 52 | static struct platform_device *landisk_devices[] __initdata = { |
48 | &cf_ide_device, | 53 | &cf_ide_device, |
54 | &rtc_device, | ||
49 | }; | 55 | }; |
50 | 56 | ||
51 | static int __init landisk_devices_setup(void) | 57 | static int __init landisk_devices_setup(void) |