summaryrefslogtreecommitdiffstats
path: root/include/linux/wm97xx_batt.h
blob: a1d6419c2ff8080d11b3c1d7d89c38a0b5c220bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _LINUX_WM97XX_BAT_H
#define _LINUX_WM97XX_BAT_H

#include <linux/wm97xx.h>

#warning This file will be removed soon, use wm97xx.h instead!

#define wm97xx_batt_info wm97xx_batt_pdata

#ifdef CONFIG_BATTERY_WM97XX
void wm97xx_bat_set_pdata(struct wm97xx_batt_info *data);
#else
static inline void wm97xx_bat_set_pdata(struct wm97xx_batt_info *data) {}
#endif

#endif