Skip to content

Commit

Permalink
[ARM] 3450/1: ep93xx: use the ep93xx rtc driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lennert Buytenhek authored and Russell King committed Apr 2, 2006
1 parent 272eb57 commit 4165813
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions arch/arm/mach-ep93xx/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
}

0 comments on commit 4165813

Please sign in to comment.