From: kogiidena Date: Sat, 12 May 2007 11:24:15 +0000 (+0900) Subject: sh: landisk: rtc-rs5c313 support. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ad47c12b3596269b975c21fba8f3cf09befdc1f2;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git sh: landisk: rtc-rs5c313 support. Add the rs5c313 platform device to the landisk setup code. Signed-off-by: kogiidena Signed-off-by: Paul Mundt --- 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 = { }, }; +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)