netxen: fix builds for SYSFS=n or MODULES=n
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / linux / wm97xx_batt.h
bloba1d6419c2ff8080d11b3c1d7d89c38a0b5c220bc
1 #ifndef _LINUX_WM97XX_BAT_H
2 #define _LINUX_WM97XX_BAT_H
4 #include <linux/wm97xx.h>
6 #warning This file will be removed soon, use wm97xx.h instead!
8 #define wm97xx_batt_info wm97xx_batt_pdata
10 #ifdef CONFIG_BATTERY_WM97XX
11 void wm97xx_bat_set_pdata(struct wm97xx_batt_info *data);
12 #else
13 static inline void wm97xx_bat_set_pdata(struct wm97xx_batt_info *data) {}
14 #endif
16 #endif