提交 41658132 编写于 作者: L Lennert Buytenhek 提交者: Russell King

[ARM] 3450/1: ep93xx: use the ep93xx rtc driver

Patch from Lennert Buytenhek

Instantiate the recently merged ep93xx rtc driver in the ep93xx code.
Signed-off-by: NLennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 272eb575
...@@ -424,6 +424,14 @@ static struct amba_device uart3_device = { ...@@ -424,6 +424,14 @@ static struct amba_device uart3_device = {
.periphid = 0x00041010, .periphid = 0x00041010,
}; };
static struct platform_device ep93xx_rtc_device = {
.name = "ep93xx-rtc",
.id = -1,
.num_resources = 0,
};
void __init ep93xx_init_devices(void) void __init ep93xx_init_devices(void)
{ {
unsigned int v; unsigned int v;
...@@ -439,4 +447,6 @@ void __init ep93xx_init_devices(void) ...@@ -439,4 +447,6 @@ void __init ep93xx_init_devices(void)
amba_device_register(&uart1_device, &iomem_resource); amba_device_register(&uart1_device, &iomem_resource);
amba_device_register(&uart2_device, &iomem_resource); amba_device_register(&uart2_device, &iomem_resource);
amba_device_register(&uart3_device, &iomem_resource); amba_device_register(&uart3_device, &iomem_resource);
platform_device_register(&ep93xx_rtc_device);
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册