summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2013-06-11 10:48:21 +0200
committerLinus Walleij <linus.walleij@linaro.org>2013-06-16 11:57:33 +0200
commitce06f40740bc9320e7a22c1964ba408f03c0d013 (patch)
tree8234b985dcca6f886b49c5551bbb844ff585d900 /drivers/pinctrl
parentd3e5116119bd02ea7716bbe04b39c21bba4bcf42 (diff)
downloadop-kernel-dev-ce06f40740bc9320e7a22c1964ba408f03c0d013.zip
op-kernel-dev-ce06f40740bc9320e7a22c1964ba408f03c0d013.tar.gz
pinctrl: abx500: fix build warning
pinctrl-abx500.c: In function 'abx500_gpio_dbg_show_one': pinctrl-abx500.c:534:14: warning: 'pud' may be used uninitialized in this function [-Wuninitialized] Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/pinctrl-abx500.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-abx500.c b/drivers/pinctrl/pinctrl-abx500.c
index 378ed3b..84b40f7 100644
--- a/drivers/pinctrl/pinctrl-abx500.c
+++ b/drivers/pinctrl/pinctrl-abx500.c
@@ -504,7 +504,7 @@ static void abx500_gpio_dbg_show_one(struct seq_file *s,
int mode = -1;
bool is_out;
bool pd;
- enum abx500_gpio_pull_updown pud;
+ enum abx500_gpio_pull_updown pud = 0;
const char *modes[] = {
[ABX500_DEFAULT] = "default",
OpenPOWER on IntegriCloud