This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
2008-09-11 18:37:32 +00:00
|
|
|
#ifndef _LINUX_WM97XX_BAT_H
|
|
|
|
#define _LINUX_WM97XX_BAT_H
|
|
|
|
|
|
|
|
#include <linux/wm97xx.h>
|
|
|
|
|
2009-08-31 04:20:12 +00:00
|
|
|
#warning This file will be removed soon, use wm97xx.h instead!
|
|
|
|
|
|
|
|
#define wm97xx_batt_info wm97xx_batt_pdata
|
2008-09-11 18:37:32 +00:00
|
|
|
|
|
|
|
#ifdef CONFIG_BATTERY_WM97XX
|
2009-08-31 04:20:12 +00:00
|
|
|
void wm97xx_bat_set_pdata(struct wm97xx_batt_info *data);
|
2008-09-11 18:37:32 +00:00
|
|
|
#else
|
|
|
|
static inline void wm97xx_bat_set_pdata(struct wm97xx_batt_info *data) {}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|