diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2017-11-13 16:36:12 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-11-13 16:36:12 -0500 |
commit | eeb690bceb1eb95f6c1c526079e1315dd459855e (patch) | |
tree | 945f7ba6e403eacabaac5de602a572b8327500be | |
parent | fd35b2023b617ceadfce679ff091c6f652f7c878 (diff) |
pinctrl: gemini: Fix missing pad descriptions
A pretty clever static checker found a bug in my patch: I added more
bits to a bitmask but didn't extend the array indexed to the same
bitmask.
Fixes: 756a024f3983 ("pinctrl: gemini: Fix GMAC groups")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | drivers/pinctrl/pinctrl-gemini.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinctrl-gemini.c b/drivers/pinctrl/pinctrl-gemini.c index ecfc9733db7e..e9b83e291edf 100644 --- a/drivers/pinctrl/pinctrl-gemini.c +++ b/drivers/pinctrl/pinctrl-gemini.c | |||
@@ -136,6 +136,8 @@ static const char * const gemini_padgroups[] = { | |||
136 | "PCI CLK", | 136 | "PCI CLK", |
137 | NULL, NULL, | 137 | NULL, NULL, |
138 | "TVC CLK", | 138 | "TVC CLK", |
139 | NULL, NULL, NULL, NULL, NULL, | ||
140 | "GMAC1", | ||
139 | }; | 141 | }; |
140 | 142 | ||
141 | static const struct pinctrl_pin_desc gemini_3512_pins[] = { | 143 | static const struct pinctrl_pin_desc gemini_3512_pins[] = { |