mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
390 B
13 lines
390 B
/* SPDX-License-Identifier: GPL-2.0 */ |
|
#if IS_ENABLED(CONFIG_BATTERY_SAMSUNG_SDI) |
|
extern int samsung_sdi_battery_get_info(struct device *dev, |
|
const char *compatible, |
|
struct power_supply_battery_info **info); |
|
#else |
|
static inline int samsung_sdi_battery_get_info(struct device *dev, |
|
const char *compatible, |
|
struct power_supply_battery_info **info) |
|
{ |
|
return -ENODEV; |
|
} |
|
#endif
|
|
|