14 #include <linux/rtc.h>
20 static void rtc_wake_on(
struct device *
dev)
25 static void rtc_wake_off(
struct device *
dev)
30 static struct resource rtc_platform_resource[] = {
43 static struct cmos_rtc_board_info rtc_info = {
47 .wake_on = rtc_wake_on,
48 .wake_off = rtc_wake_off,
54 .num_resources =
ARRAY_SIZE(rtc_platform_resource),
55 .dev.platform_data = &rtc_info,
56 .resource = rtc_platform_resource,
59 static int __init xo1_rtc_init(
void)
69 pr_info(
"olpc-xo1-rtc: Initializing OLPC XO-1 RTC\n");