Marek Vašut | 4e9687d | 2008-09-11 19:37:32 +0100 | [diff] [blame] | 1 | #ifndef _LINUX_WM97XX_BAT_H |
| 2 | #define _LINUX_WM97XX_BAT_H |
| 3 | |
| 4 | #include <linux/wm97xx.h> |
| 5 | |
Marek Vasut | b8bdc1d | 2009-08-31 06:20:12 +0200 | [diff] [blame] | 6 | #warning This file will be removed soon, use wm97xx.h instead! |
| 7 | |
| 8 | #define wm97xx_batt_info wm97xx_batt_pdata |
Marek Vašut | 4e9687d | 2008-09-11 19:37:32 +0100 | [diff] [blame] | 9 | |
| 10 | #ifdef CONFIG_BATTERY_WM97XX |
Marek Vasut | b8bdc1d | 2009-08-31 06:20:12 +0200 | [diff] [blame] | 11 | void wm97xx_bat_set_pdata(struct wm97xx_batt_info *data); |
Marek Vašut | 4e9687d | 2008-09-11 19:37:32 +0100 | [diff] [blame] | 12 | #else |
| 13 | static inline void wm97xx_bat_set_pdata(struct wm97xx_batt_info *data) {} |
| 14 | #endif |
| 15 | |
| 16 | #endif |