diff options
Diffstat (limited to 'arch/arm/mach-ep93xx')
-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 2d892e4daa07..dcd417625389 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 = { | |||
424 | .periphid = 0x00041010, | 424 | .periphid = 0x00041010, |
425 | }; | 425 | }; |
426 | 426 | ||
427 | |||
428 | static struct platform_device ep93xx_rtc_device = { | ||
429 | .name = "ep93xx-rtc", | ||
430 | .id = -1, | ||
431 | .num_resources = 0, | ||
432 | }; | ||
433 | |||
434 | |||
427 | void __init ep93xx_init_devices(void) | 435 | void __init ep93xx_init_devices(void) |
428 | { | 436 | { |
429 | unsigned int v; | 437 | unsigned int v; |
@@ -439,4 +447,6 @@ void __init ep93xx_init_devices(void) | |||
439 | amba_device_register(&uart1_device, &iomem_resource); | 447 | amba_device_register(&uart1_device, &iomem_resource); |
440 | amba_device_register(&uart2_device, &iomem_resource); | 448 | amba_device_register(&uart2_device, &iomem_resource); |
441 | amba_device_register(&uart3_device, &iomem_resource); | 449 | amba_device_register(&uart3_device, &iomem_resource); |
450 | |||
451 | platform_device_register(&ep93xx_rtc_device); | ||
442 | } | 452 | } |