PageRenderTime 22ms CodeModel.GetById 14ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/include/linux/mfd/pm8xxx/rtc.h

https://github.com/airy09/android_kernel_sony_apq8064
C Header | 26 lines | 8 code | 3 blank | 15 comment | 0 complexity | 6606573d0e7c5c7fbdba3eec12448fbe MD5 | raw file
 1/* Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
 2 *
 3 * This program is free software; you can redistribute it and/or modify
 4 * it under the terms of the GNU General Public License version 2 and
 5 * only version 2 as published by the Free Software Foundation.
 6 *
 7 * This program is distributed in the hope that it will be useful,
 8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10 * GNU General Public License for more details.
11 */
12
13#ifndef __RTC_PM8XXX_H__
14#define __RTC_PM8XXX_H__
15
16#define PM8XXX_RTC_DEV_NAME     "rtc-pm8xxx"
17/**
18 * struct pm8xxx_rtc_pdata - RTC driver platform data
19 * @rtc_write_enable: variable stating RTC write capability
20 */
21struct pm8xxx_rtc_platform_data {
22	bool rtc_write_enable;
23	bool rtc_alarm_powerup;
24};
25
26#endif /* __RTC_PM8XXX_H__ */