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