[PATCH v3 5/8] regulator: fixed-helper: export regulator_register_always_on

Ayush Singh ayushdevel1325 at gmail.com
Fri Mar 15 11:49:03 PDT 2024


Export regulator_register_always_on() to allow use in kernel modules

Signed-off-by: Ayush Singh <ayushdevel1325 at gmail.com>
---
 drivers/regulator/fixed-helper.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/regulator/fixed-helper.c b/drivers/regulator/fixed-helper.c
index 2d5a42b2b3d8..0e9784009c07 100644
--- a/drivers/regulator/fixed-helper.c
+++ b/drivers/regulator/fixed-helper.c
@@ -59,3 +59,4 @@ struct platform_device *regulator_register_always_on(int id, const char *name,
 
 	return &data->pdev;
 }
+EXPORT_SYMBOL_GPL(regulator_register_always_on);
-- 
2.44.0




More information about the linux-arm-kernel mailing list