Re: [PATCH] pinctrl: sirf: Staticize non-exported symbol

From: Barry Song
Date: Mon Nov 05 2012 - 19:28:21 EST


2012/11/5 Axel Lin <axel.lin@xxxxxxxxxx>:
> Staticize sirfsoc_gpio_irq_map() function.
>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxxx>

Acked-by: Barry Song <Baohua.Song@xxxxxxx>

> ---
> drivers/pinctrl/pinctrl-sirf.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/pinctrl/pinctrl-sirf.c b/drivers/pinctrl/pinctrl-sirf.c
> index 9ecacf3..e3b2c53 100644
> --- a/drivers/pinctrl/pinctrl-sirf.c
> +++ b/drivers/pinctrl/pinctrl-sirf.c
> @@ -1621,8 +1621,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;
>
> --
> 1.7.9.5
>
-barry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/