diff options
Diffstat (limited to 'drivers/power/wm97xx_battery.c')
-rw-r--r-- | drivers/power/wm97xx_battery.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/power/wm97xx_battery.c b/drivers/power/wm97xx_battery.c index 94c70650aaf..4e8afce0c81 100644 --- a/drivers/power/wm97xx_battery.c +++ b/drivers/power/wm97xx_battery.c | |||
@@ -308,6 +308,9 @@ static void __exit wm97xx_bat_exit(void) | |||
308 | platform_driver_unregister(&wm97xx_bat_driver); | 308 | platform_driver_unregister(&wm97xx_bat_driver); |
309 | } | 309 | } |
310 | 310 | ||
311 | /* The interface is deprecated, as well as linux/wm97xx_batt.h */ | ||
312 | void wm97xx_bat_set_pdata(struct wm97xx_batt_info *data); | ||
313 | |||
311 | void wm97xx_bat_set_pdata(struct wm97xx_batt_info *data) | 314 | void wm97xx_bat_set_pdata(struct wm97xx_batt_info *data) |
312 | { | 315 | { |
313 | gpdata = data; | 316 | gpdata = data; |