pinctrl: sirf: Staticize non-exported symbol
authorAxel Lin <axel.lin@ingics.com>
Mon, 5 Nov 2012 13:44:28 +0000 (21:44 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 11 Nov 2012 18:06:04 +0000 (19:06 +0100)
Staticize sirfsoc_gpio_irq_map() function.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-sirf.c

index 16ec7d4d81ee0761daefeddfb2d32bfa2f51dcf1..a3905e58d1b395de11923f3fc2ea759de9f8f059 100644 (file)
@@ -1642,8 +1642,8 @@ static void sirfsoc_gpio_set_value(struct gpio_chip *chip, unsigned offset,
        spin_unlock_irqrestore(&bank->lock, flags);
 }
 
-int sirfsoc_gpio_irq_map(struct irq_domain *d, unsigned int irq,
-       irq_hw_number_t hwirq)
+static int sirfsoc_gpio_irq_map(struct irq_domain *d, unsigned int irq,
+                               irq_hw_number_t hwirq)
 {
        struct sirfsoc_gpio_bank *bank = d->host_data;