Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / drivers / power / supply / samsung-sdi-battery.h
blob365ab6e85b2679604b8dec3f5e98cd9146b7fb56
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #if IS_ENABLED(CONFIG_BATTERY_SAMSUNG_SDI)
3 extern int samsung_sdi_battery_get_info(struct device *dev,
4 const char *compatible,
5 struct power_supply_battery_info **info);
6 #else
7 static inline int samsung_sdi_battery_get_info(struct device *dev,
8 const char *compatible,
9 struct power_supply_battery_info **info)
11 return -ENODEV;
13 #endif