summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/da9063-regulator.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-09-01 06:19:51 +0200
committerMark Brown <broonie@linaro.org>2013-09-01 14:44:18 +0200
commit632b3d62bcd5631ad45d3bfe7cbfa7e9572f4025 (patch)
treedeeb9c94bc4ba35edba95364d6c048baf492a6bc /drivers/regulator/da9063-regulator.c
parentregulator: da9063: Use IS_ERR to check return value of regulator_register() (diff)
downloadlinux-632b3d62bcd5631ad45d3bfe7cbfa7e9572f4025.tar.xz
linux-632b3d62bcd5631ad45d3bfe7cbfa7e9572f4025.zip
regulator: da9063: Statize da9063_ldo_lim_event
da9063_ldo_lim_event() is only referenced in this driver, make it static. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator/da9063-regulator.c')
-rw-r--r--drivers/regulator/da9063-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/da9063-regulator.c b/drivers/regulator/da9063-regulator.c
index 139ad453d773..1a7816390773 100644
--- a/drivers/regulator/da9063-regulator.c
+++ b/drivers/regulator/da9063-regulator.c
@@ -592,7 +592,7 @@ static struct da9063_dev_model regulators_models[] = {
};
/* Regulator interrupt handlers */
-irqreturn_t da9063_ldo_lim_event(int irq, void *data)
+static irqreturn_t da9063_ldo_lim_event(int irq, void *data)
{
struct da9063_regulators *regulators = data;
struct da9063 *hw = regulators->regulator[0].hw;