]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/mc146818rtc.h
[PATCH] Replace highest_possible_node_id() with nr_node_ids
[linux-2.6-omap-h63xx.git] / include / linux / mc146818rtc.h
index 432b2fa249290343702eabfbc8c031d84a697e39..bdc01127dced03198620b72441d3b38a49eb3a16 100644 (file)
 #ifdef __KERNEL__
 #include <linux/spinlock.h>            /* spinlock_t */
 extern spinlock_t rtc_lock;            /* serialize CMOS RAM access */
+
+/* Some RTCs extend the mc146818 register set to support alarms of more
+ * than 24 hours in the future; or dates that include a century code.
+ * This platform_data structure can pass this information to the driver.
+ */
+struct cmos_rtc_board_info {
+       u8      rtc_day_alarm;          /* zero, or register index */
+       u8      rtc_mon_alarm;          /* zero, or register index */
+       u8      rtc_century;            /* zero, or register index */
+};
 #endif
 
 /**********************************************************************