projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
655efa0
)
regulator: gpio-regulator: Staticize of_get_gpio_regulator_config()
author
Axel Lin
<axel.lin@ingics.com>
Mon, 28 Jan 2013 14:17:46 +0000
(22:17 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Mon, 28 Jan 2013 16:44:17 +0000
(
00:44
+0800)
of_get_gpio_regulator_config() is only used in gpio-regulator.c, make it static.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/gpio-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/gpio-regulator.c
b/drivers/regulator/gpio-regulator.c
index
d819ba7
..
9d39eb4
100644
(file)
--- a/
drivers/regulator/gpio-regulator.c
+++ b/
drivers/regulator/gpio-regulator.c
@@
-132,7
+132,7
@@
static struct regulator_ops gpio_regulator_voltage_ops = {
.list_voltage = gpio_regulator_list_voltage,
};
-struct gpio_regulator_config *
+st
atic st
ruct gpio_regulator_config *
of_get_gpio_regulator_config(struct device *dev, struct device_node *np)
{
struct gpio_regulator_config *config;