From 8b4e1b88b908fcfcfd6cbfeda6b2dffd84a49885 Mon Sep 17 00:00:00 2001 From: venu byravarasu Date: Tue, 21 Jun 2011 17:15:03 +0530 Subject: rtc: tps80031: Adding driver for TI PMU RTC 80031 With this change, RTC driver for TI PMU 80031 is being checked in. bug 833336 Change-Id: If4789a5dd49163d2391ab016845ff5807c061f12 Reviewed-on: http://git-master/r/34453 Tested-by: Venu Byravarasu Reviewed-by: Thomas Cherry Reviewed-by: Sachin Nikam Reviewed-by: Laxman Dewangan --- include/linux/mfd/tps80031.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/linux') diff --git a/include/linux/mfd/tps80031.h b/include/linux/mfd/tps80031.h index 9438b4602acb..9de0875a9c38 100644 --- a/include/linux/mfd/tps80031.h +++ b/include/linux/mfd/tps80031.h @@ -24,6 +24,8 @@ #ifndef __LINUX_MFD_TPS80031_H #define __LINUX_MFD_TPS80031_H +#include + #define tps80031_rails(_name) "tps80031_"#_name enum { @@ -91,6 +93,11 @@ struct tps80031_subdev_info { void *platform_data; }; +struct tps80031_rtc_platform_data { + int irq; + struct rtc_time time; +}; + struct tps80031_32kclock_plat_data { unsigned en_clk32kao:1; unsigned en_clk32kg:1; -- cgit v1.2.3