diff options
| -rw-r--r-- | drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c b/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c index b8566ed898f1..aa98fbb17013 100644 --- a/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c +++ b/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c | |||
| @@ -82,7 +82,7 @@ static int rt2880_pinctrl_dt_node_to_map(struct pinctrl_dev *pctrldev, | |||
| 82 | struct property *prop; | 82 | struct property *prop; |
| 83 | const char *function_name, *group_name; | 83 | const char *function_name, *group_name; |
| 84 | int ret; | 84 | int ret; |
| 85 | int ngroups; | 85 | int ngroups = 0; |
| 86 | unsigned int reserved_maps = 0; | 86 | unsigned int reserved_maps = 0; |
| 87 | 87 | ||
| 88 | for_each_node_with_property(np_config, "group") | 88 | for_each_node_with_property(np_config, "group") |
