summaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-10-30 19:58:06 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-11-01 11:32:16 +0100
commit1f2398c89b20da416ce81c09a397c5ed9da03a1d (patch)
tree514d9889872accb9558588a2db21c505658f6f58 /drivers/regulator
parent9e7d479d406e1bfb3e56dd4a14f6db8b6ee024b1 (diff)
downloadbarebox-1f2398c89b20da416ce81c09a397c5ed9da03a1d.tar.gz
barebox-1f2398c89b20da416ce81c09a397c5ed9da03a1d.tar.xz
regulator: fix bitrotted EXPORT_SYMBOL_GPL
Build with module support enabled rightfully complains about the unknown symbol. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20211030175812.2276705-4-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index 097f7d779b..071131a1ca 100644
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -573,7 +573,7 @@ int regulator_get_voltage(struct regulator *regulator)
return ret;
}
-EXPORT_SYMBOL_GPL(regulator_get_voltage_rdev);
+EXPORT_SYMBOL_GPL(regulator_get_voltage);
static void regulator_print_one(struct regulator_internal *ri)
{