blob: a1d6419c2ff8080d11b3c1d7d89c38a0b5c220bc [file] [log] [blame]
Marek Vašut4e9687d2008-09-11 19:37:32 +01001#ifndef _LINUX_WM97XX_BAT_H
2#define _LINUX_WM97XX_BAT_H
3
4#include <linux/wm97xx.h>
5
Marek Vasutb8bdc1d2009-08-31 06:20:12 +02006#warning This file will be removed soon, use wm97xx.h instead!
7
8#define wm97xx_batt_info wm97xx_batt_pdata
Marek Vašut4e9687d2008-09-11 19:37:32 +01009
10#ifdef CONFIG_BATTERY_WM97XX
Marek Vasutb8bdc1d2009-08-31 06:20:12 +020011void wm97xx_bat_set_pdata(struct wm97xx_batt_info *data);
Marek Vašut4e9687d2008-09-11 19:37:32 +010012#else
13static inline void wm97xx_bat_set_pdata(struct wm97xx_batt_info *data) {}
14#endif
15
16#endif