[PATCH 3/9] regulator: fix bitrotted EXPORT_SYMBOL_GPL

Ahmad Fatoum a.fatoum at pengutronix.de
Sat Oct 30 10:58:06 PDT 2021


Build with module support enabled rightfully complains about the
unknown symbol.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 drivers/regulator/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index a9e25753fee8..7eb849cd31f2 100644
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -564,7 +564,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)
 {
-- 
2.30.2




More information about the barebox mailing list