6 #include <linux/kernel.h>
7 #include <linux/module.h>
12 #include <asm/oplib.h>
18 static u32 starfire_get_time(
void)
20 static char obp_gettod[32];
23 sprintf(obp_gettod,
"h# %08x unix-gettod",
24 (
unsigned int) (
long) &unix_tod);
37 .read_time = starfire_read_time,
47 platform_set_drvdata(pdev, rtc);
54 struct rtc_device *rtc = platform_get_drvdata(pdev);
63 .name =
"rtc-starfire",
66 .remove =
__exit_p(starfire_rtc_remove),
69 static int __init starfire_rtc_init(
void)
74 static void __exit starfire_rtc_exit(
void)