Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.9-rc2 13 lines 390 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2#if IS_ENABLED(CONFIG_BATTERY_SAMSUNG_SDI) 3extern int samsung_sdi_battery_get_info(struct device *dev, 4 const char *compatible, 5 struct power_supply_battery_info **info); 6#else 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