drivers: power: report battery voltage in AOSP compatible format
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / kernel / power / tuxonice_cluster.h
1 /*
2 * kernel/power/tuxonice_cluster.h
3 *
4 * Copyright (C) 2006-2010 Nigel Cunningham (nigel at tuxonice net)
5 *
6 * This file is released under the GPLv2.
7 */
8
9 #ifdef CONFIG_TOI_CLUSTER
10 extern int toi_cluster_init(void);
11 extern void toi_cluster_exit(void);
12 extern void toi_initiate_cluster_hibernate(void);
13 #else
14 static inline int toi_cluster_init(void)
15 {
16 return 0;
17 }
18
19 static inline void toi_cluster_exit(void)
20 {
21 }
22
23 static inline void toi_initiate_cluster_hibernate(void)
24 {
25 }
26 #endif