Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce06f407 authored by Patrice Chotard's avatar Patrice Chotard Committed by Linus Walleij
Browse files

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: default avatarPatrice Chotard <patrice.chotard@st.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent d3e51161
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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",