Commit | Line | Data |
---|---|---|
4e9687d9 MV |
1 | #ifndef _LINUX_WM97XX_BAT_H |
2 | #define _LINUX_WM97XX_BAT_H | |
3 | ||
4 | #include <linux/wm97xx.h> | |
5 | ||
b8bdc1d0 MV |
6 | #warning This file will be removed soon, use wm97xx.h instead! |
7 | ||
8 | #define wm97xx_batt_info wm97xx_batt_pdata | |
4e9687d9 MV |
9 | |
10 | #ifdef CONFIG_BATTERY_WM97XX | |
b8bdc1d0 | 11 | void wm97xx_bat_set_pdata(struct wm97xx_batt_info *data); |
4e9687d9 MV |
12 | #else |
13 | static inline void wm97xx_bat_set_pdata(struct wm97xx_batt_info *data) {} | |
14 | #endif | |
15 | ||
16 | #endif |