diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2006-04-02 16:17:34 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-04-02 16:17:34 +0100 |
commit | 41658132e650c01529dd5cc5cea8b0055def1165 (patch) | |
tree | 4eb5b1cc9ed9e6834cb797e69d2e230275a662bf /arch | |
parent | 272eb575eb3d5348fe0f0a97a22b5e603bd51d11 (diff) | |
download | op-kernel-dev-41658132e650c01529dd5cc5cea8b0055def1165.zip op-kernel-dev-41658132e650c01529dd5cc5cea8b0055def1165.tar.gz |
[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: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-ep93xx/core.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-ep93xx/core.c b/arch/arm/mach-ep93xx/core.c index 2d892e4..dcd4176 100644 --- a/arch/arm/mach-ep93xx/core.c +++ b/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); } |