2008-09-11 22:37:32 +04:00
|
|
|
#ifndef _LINUX_WM97XX_BAT_H
|
|
|
|
#define _LINUX_WM97XX_BAT_H
|
|
|
|
|
|
|
|
#include <linux/wm97xx.h>
|
|
|
|
|
2009-08-31 08:20:12 +04:00
|
|
|
#warning This file will be removed soon, use wm97xx.h instead!
|
|
|
|
|
|
|
|
#define wm97xx_batt_info wm97xx_batt_pdata
|
2008-09-11 22:37:32 +04:00
|
|
|
|
|
|
|
#ifdef CONFIG_BATTERY_WM97XX
|
2009-08-31 08:20:12 +04:00
|
|
|
void wm97xx_bat_set_pdata(struct wm97xx_batt_info *data);
|
2008-09-11 22:37:32 +04:00
|
|
|
#else
|
|
|
|
static inline void wm97xx_bat_set_pdata(struct wm97xx_batt_info *data) {}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|