6 #include <linux/kernel.h>
7 #include <linux/module.h>
10 #include <linux/rtc.h>
13 #include <asm/hypervisor.h>
15 static unsigned long hypervisor_get_time(
void)
42 static int hypervisor_set_time(
unsigned long secs)
72 return hypervisor_set_time(secs);
76 .read_time = sun4v_read_time,
77 .set_time = sun4v_set_time,
87 platform_set_drvdata(pdev, rtc);
93 struct rtc_device *rtc = platform_get_drvdata(pdev);
104 .remove =
__exit_p(sun4v_rtc_remove),
107 static int __init sun4v_rtc_init(
void)
112 static void __exit sun4v_rtc_exit(
void)