diff options
author | Patrice Chotard | 2013-06-11 10:48:21 +0200 |
---|---|---|
committer | Linus Walleij | 2013-06-16 11:57:33 +0200 |
commit | ce06f40740bc9320e7a22c1964ba408f03c0d013 (patch) | |
tree | 8234b985dcca6f886b49c5551bbb844ff585d900 /drivers/pinctrl | |
parent | d3e5116119bd02ea7716bbe04b39c21bba4bcf42 (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-abx500.c b/drivers/pinctrl/pinctrl-abx500.c index 378ed3b850e7..84b40f77b944 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", |