Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

kogiidena and committed by
Paul Mundt
ad47c12b 38c425f6

+6
+6
arch/sh/boards/landisk/setup.c
··· 44 44 }, 45 45 }; 46 46 47 + static struct platform_device rtc_device = { 48 + .name = "rs5c313", 49 + .id = -1, 50 + }; 51 + 47 52 static struct platform_device *landisk_devices[] __initdata = { 48 53 &cf_ide_device, 54 + &rtc_device, 49 55 }; 50 56 51 57 static int __init landisk_devices_setup(void)