[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180718004909.213735-2-djkurtz@chromium.org>
Date: Tue, 17 Jul 2018 18:49:08 -0600
From: Daniel Kurtz <djkurtz@...omium.org>
To: unlisted-recipients:; (no To-header on input)
Cc: Dylan Reid <dgreid@...omium.org>,
Jimmy Cheng-Yi Chiang <cychiang@...gle.com>,
Daniel Kurtz <djkurtz@...omium.org>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
linux-kernel@...r.kernel.org (open list:VOLTAGE AND CURRENT REGULATOR
FRAMEWORK)
Subject: [PATCH 1/2] regulator: allow drivers in modules to register fixed regulators
Sound machine drivers tend to live in modules. Sometimes such a machine
driver needs to register a fixed regulator to provide to a codec.
Export regulator_register_always_on() such that this is possible.
Change-Id: I2906f96df278b5fa65d40d3a777bf6d3d91841d2
Signed-off-by: Daniel Kurtz <djkurtz@...omium.org>
---
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 777fac6fb4cb0a..f53fbda043f525 100644
--- a/drivers/regulator/fixed-helper.c
+++ b/drivers/regulator/fixed-helper.c
@@ -60,3 +60,4 @@ struct platform_device *regulator_register_always_on(int id, const char *name,
return &data->pdev;
}
+EXPORT_SYMBOL_GPL(regulator_register_always_on);
--
2.18.0.203.gfac676dfb9-goog
Powered by blists - more mailing lists