mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 15:36:45 +07: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
|