summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorSebastian Reichel <sebastian.reichel@collabora.com>2023-09-13 15:39:00 +0200
committerSebastian Reichel <sebastian.reichel@collabora.com>2023-09-17 00:43:13 +0200
commit12e94aee074ce1c5ffdb8f2246a8c4a095b6aa8a (patch)
tree844cc4049302a8e39f23a6b6fecaf49411c82558 /drivers/power
parente39257cde7e8ceec6165f54b6e20c72e2862a0b1 (diff)
downloadlwn-12e94aee074ce1c5ffdb8f2246a8c4a095b6aa8a.tar.gz
lwn-12e94aee074ce1c5ffdb8f2246a8c4a095b6aa8a.zip
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>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/supply/power_supply_core.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/power/supply/power_supply_core.c b/drivers/power/supply/power_supply_core.c
index 6e30674be366..73265001dd4b 100644
--- a/drivers/power/supply/power_supply_core.c
+++ b/drivers/power/supply/power_supply_core.c
@@ -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;