mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 11:44:01 +08:00
b8bdc1d0cf
This patch converts the wm97xx-battery driver to use platform_data supplied by ac97 bus. Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
17 lines
374 B
C
17 lines
374 B
C
#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
|