diff options
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r-- | drivers/pinctrl/pinctrl-sirf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-sirf.c b/drivers/pinctrl/pinctrl-sirf.c index 0f4f833e3c93..8bf781e8c35e 100644 --- a/drivers/pinctrl/pinctrl-sirf.c +++ b/drivers/pinctrl/pinctrl-sirf.c | |||
@@ -1210,8 +1210,10 @@ static int __devinit sirfsoc_pinmux_probe(struct platform_device *pdev) | |||
1210 | goto out_no_pmx; | 1210 | goto out_no_pmx; |
1211 | } | 1211 | } |
1212 | 1212 | ||
1213 | for (i = 0; i < ARRAY_SIZE(sirfsoc_gpio_ranges); i++) | 1213 | for (i = 0; i < ARRAY_SIZE(sirfsoc_gpio_ranges); i++) { |
1214 | sirfsoc_gpio_ranges[i].gc = &sgpio_bank[i].chip.gc; | ||
1214 | pinctrl_add_gpio_range(spmx->pmx, &sirfsoc_gpio_ranges[i]); | 1215 | pinctrl_add_gpio_range(spmx->pmx, &sirfsoc_gpio_ranges[i]); |
1216 | } | ||
1215 | 1217 | ||
1216 | dev_info(&pdev->dev, "initialized SIRFSOC pinmux driver\n"); | 1218 | dev_info(&pdev->dev, "initialized SIRFSOC pinmux driver\n"); |
1217 | 1219 | ||