Skip to contentSkip to conversation

pinctrl: msm: Fix compile error in msm_config_reg()

PATCH In review Georgi Djakov 2 participants 2 messages Mar 14, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pinctrl: msm: Fix compile error in msm_config_reg()

Fix the following compilation error in msm_config_reg():

drivers/pinctrl/pinctrl-msm.c: In function 'msm_config_reg':
drivers/pinctrl/pinctrl-msm.c:218:4: error: 'reg' undeclared (first use in this function)

Error is caused by the mix of these two commits:
ed118a5fd951bd2def8249ee251842c4f81fe4bd
051a58b4622f0e1b732acb750097c64bc00ddb93

Cc Stephen Boyd <[email protected]>
Cc Bjorn Andersson <[email protected]>
---
 drivers/pinctrl/pinctrl-msm.c |    1 -
 1 file changed, 1 deletion(-)
drivers/pinctrl/pinctrl-msm.c +0 -1
index 19d2feb..343f421 100644
@@ -215,7 +215,6 @@ static int msm_config_reg(struct msm_pinctrl *pctrl,
 		*mask = 7;
 		break;
 	case PIN_CONFIG_OUTPUT:
-		*reg = g->ctl_reg;
 		*bit = g->oe_bit;
 		*mask = 1;
 		break;
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 6 lines · Georgi Djakov

Fix the following compilation error in msm_config_reg():

drivers/pinctrl/pinctrl-msm.c: In function 'msm_config_reg':
drivers/pinctrl/pinctrl-msm.c:218:4: error: 'reg' undeclared (first use in this function)

Quoted 7 lines

Error is caused by the mix of these two commits:
ed118a5fd951bd2def8249ee251842c4f81fe4bd
051a58b4622f0e1b732acb750097c64bc00ddb93

Cc Stephen Boyd <[email protected]>
Cc Bjorn Andersson <[email protected]>

Thanks, but I already sent an identical fix earlier today!

Yours,
Linus Walleij