aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/pm8xxx/rtc.h
blob: 14f1983eaecc4c84c4d26d6760cde8f3323819a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* 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
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

#ifndef __RTC_PM8XXX_H__
#define __RTC_PM8XXX_H__

#define PM8XXX_RTC_DEV_NAME     "rtc-pm8xxx"
/**
 * struct pm8xxx_rtc_pdata - RTC driver platform data
 * @rtc_write_enable: variable stating RTC write capability
 */
struct pm8xxx_rtc_platform_data {
	bool rtc_write_enable;
};

#endif /* __RTC_PM8XXX_H__ */