summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-sirf.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2012-11-05 14:44:28 +0100
committerLinus Walleij <linus.walleij@linaro.org>2012-11-11 19:06:04 +0100
commit33dfc41461b77e2b38673ec1b5622b1d9340324d (patch)
tree6cfd53ff464380a7b850445171919f4e30a8d9c8 /drivers/pinctrl/pinctrl-sirf.c
parentpinctrl: u300: Staticize non-exported symbols (diff)
downloadlinux-33dfc41461b77e2b38673ec1b5622b1d9340324d.tar.xz
linux-33dfc41461b77e2b38673ec1b5622b1d9340324d.zip
pinctrl: sirf: Staticize non-exported symbol
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>
Diffstat (limited to '')
-rw-r--r--drivers/pinctrl/pinctrl-sirf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pinctrl/pinctrl-sirf.c b/drivers/pinctrl/pinctrl-sirf.c
index 16ec7d4d81ee..a3905e58d1b3 100644
--- a/drivers/pinctrl/pinctrl-sirf.c
+++ b/drivers/pinctrl/pinctrl-sirf.c
@@ -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;