Skip to content

Commit

Permalink
sh: landisk: rtc-rs5c313 support.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
kogiidena authored and Paul Mundt committed May 14, 2007
1 parent 38c425f commit ad47c12
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/sh/boards/landisk/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ad47c12

Please sign in to comment.