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 samsung_sdi_battery_get_info(struct device * dev,const char * compatible,struct power_supply_battery_info ** info)7static inline int samsung_sdi_battery_get_info(struct device *dev, 8 const char *compatible, 9 struct power_supply_battery_info **info) 10 { 11 return -ENODEV; 12 } 13 #endif 14