From ce06f40740bc9320e7a22c1964ba408f03c0d013 Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Tue, 11 Jun 2013 10:48:21 +0200 Subject: [PATCH] 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 Signed-off-by: Linus Walleij --- drivers/pinctrl/pinctrl-abx500.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.39.5