* [PATCH 1/1] regulator: ab8500-ext: Staticize local symbols
@ 2013-06-26 4:43 Sachin Kamat
2013-06-26 15:23 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Sachin Kamat @ 2013-06-26 4:43 UTC (permalink / raw)
To: linux-kernel; +Cc: broonie, lgirdwood, sachin.kamat, Bengt Jonsson
Local symbols used only in this file are made static.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
---
drivers/regulator/ab8500-ext.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/regulator/ab8500-ext.c b/drivers/regulator/ab8500-ext.c
index 4137a2f..02ff691 100644
--- a/drivers/regulator/ab8500-ext.c
+++ b/drivers/regulator/ab8500-ext.c
@@ -341,7 +341,7 @@ static struct of_regulator_match ab8500_ext_regulator_match[] = {
{ .name = "ab8500_ext3", .driver_data = (void *) AB8500_EXT_SUPPLY3, },
};
-int ab8500_ext_regulator_probe(struct platform_device *pdev)
+static int ab8500_ext_regulator_probe(struct platform_device *pdev)
{
struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent);
struct ab8500_platform_data *ppdata;
@@ -433,7 +433,7 @@ int ab8500_ext_regulator_probe(struct platform_device *pdev)
return 0;
}
-int ab8500_ext_regulator_remove(struct platform_device *pdev)
+static int ab8500_ext_regulator_remove(struct platform_device *pdev)
{
int i;
--
1.7.9.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] regulator: ab8500-ext: Staticize local symbols
2013-06-26 4:43 [PATCH 1/1] regulator: ab8500-ext: Staticize local symbols Sachin Kamat
@ 2013-06-26 15:23 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2013-06-26 15:23 UTC (permalink / raw)
To: Sachin Kamat; +Cc: linux-kernel, lgirdwood, Bengt Jonsson
[-- Attachment #1: Type: text/plain, Size: 136 bytes --]
On Wed, Jun 26, 2013 at 10:13:37AM +0530, Sachin Kamat wrote:
> Local symbols used only in this file are made static.
Applied, thanks.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-06-26 15:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-26 4:43 [PATCH 1/1] regulator: ab8500-ext: Staticize local symbols Sachin Kamat
2013-06-26 15:23 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®