summaryrefslogtreecommitdiff
path: root/drivers/regulator/ab8500-ext.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-06-26 10:13:37 +0530
committerMark Brown <broonie@linaro.org>2013-06-26 16:23:09 +0100
commit08d49f4372ebee2b06d6988ecca37612fdc5b897 (patch)
treeecd40a27e5ddae7673d5d69ba1ddf18f6c63ee9b /drivers/regulator/ab8500-ext.c
parentce6f5ea3a7240c15e5775d5b9c5c57629943ca6c (diff)
regulator: ab8500-ext: Staticize local symbols
Local symbols used only in this file are made static. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator/ab8500-ext.c')
-rw-r--r--drivers/regulator/ab8500-ext.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/regulator/ab8500-ext.c b/drivers/regulator/ab8500-ext.c
index 4137a2fe42c3..02ff691cdb8b 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;