projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b12a1e2
)
regulator: Staticise mc13783_powermisc_rmw()
author
Mark Brown
<
[email protected]
>
Wed, 3 Nov 2010 04:08:04 +0000
(
00:08
-0400)
committer
Liam Girdwood
<
[email protected]
>
Tue, 30 Nov 2010 15:13:25 +0000
(15:13 +0000)
It is not used outside this driver so no need to make the symbol global.
Signed-off-by: Mark Brown <
[email protected]
>
Acked-by: Alberto Panizzo <
[email protected]
>
Signed-off-by: Liam Girdwood <
[email protected]
>
drivers/regulator/mc13783-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/mc13783-regulator.c
b/drivers/regulator/mc13783-regulator.c
index 4597d508a229efe5bb12a985955ebb71931e3ee4..ecd99f59dba879f8d659845fef26875cf218ff70 100644
(file)
--- a/
drivers/regulator/mc13783-regulator.c
+++ b/
drivers/regulator/mc13783-regulator.c
@@
-465,8
+465,8
@@
static struct regulator_ops mc13783_fixed_regulator_ops = {
.get_voltage = mc13783_fixed_regulator_get_voltage,
};
-int mc13783_powermisc_rmw(struct mc13783_regulator_priv *priv, u32 mask,
-
u32 val)
+
static
int mc13783_powermisc_rmw(struct mc13783_regulator_priv *priv, u32 mask,
+ u32 val)
{
struct mc13783 *mc13783 = priv->mc13783;
int ret;