From 77de36eff57048f3bd40541db0e183a7402710ca Mon Sep 17 00:00:00 2001 From: Lennert Buytenhek Date: Sun, 2 Apr 2006 16:17:34 +0100 Subject: [PATCH] --- yaml --- r: 25291 b: refs/heads/master c: 41658132e650c01529dd5cc5cea8b0055def1165 h: refs/heads/master i: 25289: 3d7a6d17a8d5262ed94a9a39b49279efdcc56dea 25287: a3da6dbe771004330c86359c090f4c8e2706a591 v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-ep93xx/core.c | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 8b95622814b1..72bf9b21635f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 272eb575eb3d5348fe0f0a97a22b5e603bd51d11 +refs/heads/master: 41658132e650c01529dd5cc5cea8b0055def1165 diff --git a/trunk/arch/arm/mach-ep93xx/core.c b/trunk/arch/arm/mach-ep93xx/core.c index 2d892e4daa07..dcd417625389 100644 --- a/trunk/arch/arm/mach-ep93xx/core.c +++ b/trunk/arch/arm/mach-ep93xx/core.c @@ -424,6 +424,14 @@ static struct amba_device uart3_device = { .periphid = 0x00041010, }; + +static struct platform_device ep93xx_rtc_device = { + .name = "ep93xx-rtc", + .id = -1, + .num_resources = 0, +}; + + void __init ep93xx_init_devices(void) { unsigned int v; @@ -439,4 +447,6 @@ void __init ep93xx_init_devices(void) amba_device_register(&uart1_device, &iomem_resource); amba_device_register(&uart2_device, &iomem_resource); amba_device_register(&uart3_device, &iomem_resource); + + platform_device_register(&ep93xx_rtc_device); }