cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

samsung-sdi-battery.h (390B)


      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