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