mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 06:34:12 +08:00
power: supply: core: Don't export power_supply_notifier
power_supply_notifier can be internal, since all users are going through power_supply_reg_notifier()/power_supply_unreg_notifier(). Link: https://lore.kernel.org/r/20230913133900.591637-1-sebastian.reichel@collabora.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
parent
e39257cde7
commit
12e94aee07
@ -29,8 +29,7 @@
|
||||
struct class *power_supply_class;
|
||||
EXPORT_SYMBOL_GPL(power_supply_class);
|
||||
|
||||
BLOCKING_NOTIFIER_HEAD(power_supply_notifier);
|
||||
EXPORT_SYMBOL_GPL(power_supply_notifier);
|
||||
static BLOCKING_NOTIFIER_HEAD(power_supply_notifier);
|
||||
|
||||
static struct device_type power_supply_dev_type;
|
||||
|
||||
|
@ -767,7 +767,6 @@ struct power_supply_battery_info {
|
||||
int bti_resistance_tolerance;
|
||||
};
|
||||
|
||||
extern struct blocking_notifier_head power_supply_notifier;
|
||||
extern int power_supply_reg_notifier(struct notifier_block *nb);
|
||||
extern void power_supply_unreg_notifier(struct notifier_block *nb);
|
||||
#if IS_ENABLED(CONFIG_POWER_SUPPLY)
|
||||
|
Loading…
Reference in New Issue
Block a user