pinctrl: sirf: fix a bad conflict resolution
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 30 May 2014 07:52:43 +0000 (09:52 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 30 May 2014 07:52:43 +0000 (09:52 +0200)
Commit 294d1351ff47726f0f110b88e816cbafe89512fb
"pinctrl: sirf: switch to using allocated state container"
caused a build conflict due to a bad conflict resolution
when cherry-picking the patch. Fix it up.

Cc: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sirf/pinctrl-sirf.c

index 0e835219c42e9f344ea8c828e8243d8b9468fbaa..014f5b1fee551f9ba586fe68908049236c97e0c6 100644 (file)
@@ -575,7 +575,7 @@ static void sirfsoc_gpio_handle_irq(unsigned int irq, struct irq_desc *desc)
        int i;
 
        for (i = 0; i < SIRFSOC_GPIO_NO_OF_BANKS; i++) {
-               bank = &sgpio_chip.sgpio_bank[i];
+               bank = &sgpio->sgpio_bank[i];
                if (bank->parent_irq == irq)
                        break;
        }