drivers: rtc-pm8058: Fix automatic wakeup of APPS due to RTC alarm.
Alarm interrupt causes automatic wakeup even when the phone is in
powerdown state.
CRs-Fixed: 286086
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
diff --git a/include/linux/rtc/rtc-pm8058.h b/include/linux/rtc/rtc-pm8058.h
index 0690e1a..340fb2d 100644
--- a/include/linux/rtc/rtc-pm8058.h
+++ b/include/linux/rtc/rtc-pm8058.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010, Code Aurora Forum. All rights reserved.
+/* Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -14,8 +14,8 @@
#ifndef __RTC_PM8058_H__
#define __RTC_PM8058_H__
-struct pm8058_rtc_pdata {
- bool rtc_write_enable;
+struct pm8058_rtc_platform_data {
+ bool rtc_alarm_powerup;
};
#endif /* __RTC_PM8058_H__ */