Merge commit 'v2.6.28-rc7' into tracing/core
[linux-2.6] / include / linux / wm97xx_batt.h
1 #ifndef _LINUX_WM97XX_BAT_H
2 #define _LINUX_WM97XX_BAT_H
3
4 #include <linux/wm97xx.h>
5
6 struct wm97xx_batt_info {
7         int     batt_aux;
8         int     temp_aux;
9         int     charge_gpio;
10         int     min_voltage;
11         int     max_voltage;
12         int     batt_div;
13         int     batt_mult;
14         int     temp_div;
15         int     temp_mult;
16         int     batt_tech;
17         char    *batt_name;
18 };
19
20 #ifdef CONFIG_BATTERY_WM97XX
21 void __init wm97xx_bat_set_pdata(struct wm97xx_batt_info *data);
22 #else
23 static inline void wm97xx_bat_set_pdata(struct wm97xx_batt_info *data) {}
24 #endif
25
26 #endif