drm/radeon/kms: Fix irq handling on AVIVO hw
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / linux / wm97xx_batt.h
blob9681d1ab0e4f4279f9003c6ee9ad5887adefd824
1 #ifndef _LINUX_WM97XX_BAT_H
2 #define _LINUX_WM97XX_BAT_H
4 #include <linux/wm97xx.h>
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;
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
26 #endif