diff mbox

pinctrl: sirf: Staticize non-exported symbol

Message ID 1352123068.14769.6.camel@phoenix (mailing list archive)
State New, archived
Headers show

Commit Message

Axel Lin Nov. 5, 2012, 1:44 p.m. UTC
Staticize sirfsoc_gpio_irq_map() function.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/pinctrl/pinctrl-sirf.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Barry Song Nov. 6, 2012, 12:28 a.m. UTC | #1
2012/11/5 Axel Lin <axel.lin@ingics.com>:
> Staticize sirfsoc_gpio_irq_map() function.
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>

Acked-by: Barry Song <Baohua.Song@csr.com>

> ---
>  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
Linus Walleij Nov. 6, 2012, 8:52 a.m. UTC | #2
On Mon, Nov 5, 2012 at 2:44 PM, Axel Lin <axel.lin@ingics.com> wrote:

> Staticize sirfsoc_gpio_irq_map() function.
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>

Applied with Barry's ACK, thanks!
Linus Walleij
diff mbox

Patch

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;