diff options
Diffstat (limited to 'arch/ia64/kernel')
-rw-r--r-- | arch/ia64/kernel/time.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/ia64/kernel/time.c b/arch/ia64/kernel/time.c index f0ebb342409d..d6747bae52d8 100644 --- a/arch/ia64/kernel/time.c +++ b/arch/ia64/kernel/time.c | |||
@@ -20,6 +20,7 @@ | |||
20 | #include <linux/efi.h> | 20 | #include <linux/efi.h> |
21 | #include <linux/timex.h> | 21 | #include <linux/timex.h> |
22 | #include <linux/clocksource.h> | 22 | #include <linux/clocksource.h> |
23 | #include <linux/platform_device.h> | ||
23 | 24 | ||
24 | #include <asm/machvec.h> | 25 | #include <asm/machvec.h> |
25 | #include <asm/delay.h> | 26 | #include <asm/delay.h> |
@@ -405,6 +406,21 @@ static struct irqaction timer_irqaction = { | |||
405 | .name = "timer" | 406 | .name = "timer" |
406 | }; | 407 | }; |
407 | 408 | ||
409 | static struct platform_device rtc_efi_dev = { | ||
410 | .name = "rtc-efi", | ||
411 | .id = -1, | ||
412 | }; | ||
413 | |||
414 | static int __init rtc_init(void) | ||
415 | { | ||
416 | if (platform_device_register(&rtc_efi_dev) < 0) | ||
417 | printk(KERN_ERR "unable to register rtc device...\n"); | ||
418 | |||
419 | /* not necessarily an error */ | ||
420 | return 0; | ||
421 | } | ||
422 | module_init(rtc_init); | ||
423 | |||
408 | void __init | 424 | void __init |
409 | time_init (void) | 425 | time_init (void) |
410 | { | 426 | { |