summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/pinctrl-sirf.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2012-11-05 17:44:28 +0400
committerLinus Walleij <linus.walleij@linaro.org>2012-11-11 22:06:04 +0400
commit33dfc41461b77e2b38673ec1b5622b1d9340324d (patch)
tree6cfd53ff464380a7b850445171919f4e30a8d9c8 /drivers/pinctrl/pinctrl-sirf.c
parente1b29abef69e34a42169cd65d7249b18574c94e8 (diff)
downloadlinux-33dfc41461b77e2b38673ec1b5622b1d9340324d.tar.xz
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 'drivers/pinctrl/pinctrl-sirf.c')
-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;