From: Georgi Djakov <gdjakov@mm-sol.com>
To: linus.walleij@linaro.org, sboyd@codeaurora.org,
bjorn.andersson@sonymobile.com
Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-msm@vger.kernel.org, Georgi Djakov <gdjakov@mm-sol.com>
Subject: [PATCH] pinctrl: msm: Fix compile error in msm_config_reg()
Date: Fri, 14 Mar 2014 17:06:16 +0200 [thread overview]
Message-ID: <1394809576-21255-1-git-send-email-gdjakov@mm-sol.com> (raw)
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 <sboyd@codeaurora.org>
Cc: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Georgi Djakov <gdjakov@mm-sol.com>
---
drivers/pinctrl/pinctrl-msm.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/pinctrl/pinctrl-msm.c b/drivers/pinctrl/pinctrl-msm.c
index 19d2feb..343f421 100644
--- a/drivers/pinctrl/pinctrl-msm.c
+++ b/drivers/pinctrl/pinctrl-msm.c
@@ -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;
--
1.7.9.5
next reply other threads:[~2014-03-14 15:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-14 15:06 Georgi Djakov [this message]
2014-03-14 15:39 ` [PATCH] pinctrl: msm: Fix compile error in msm_config_reg() Linus Walleij
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1394809576-21255-1-git-send-email-gdjakov@mm-sol.com \
--to=gdjakov@mm-sol.com \
--cc=bjorn.andersson@sonymobile.com \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sboyd@codeaurora.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).