提交 61e3884e 编写于 作者: S Sachin Kamat 提交者: Linus Walleij

gpio: grgpio: Staticize local symbols

Local symbols accessed only in this file are made static.
Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
Acked-by: NAndreas Larsson <andreas@gaisler.com>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 10b20a93
...@@ -235,8 +235,8 @@ static irqreturn_t grgpio_irq_handler(int irq, void *dev) ...@@ -235,8 +235,8 @@ static irqreturn_t grgpio_irq_handler(int irq, void *dev)
* This function will be called as a consequence of the call to * This function will be called as a consequence of the call to
* irq_create_mapping in grgpio_to_irq * irq_create_mapping in grgpio_to_irq
*/ */
int grgpio_irq_map(struct irq_domain *d, unsigned int irq, static int grgpio_irq_map(struct irq_domain *d, unsigned int irq,
irq_hw_number_t hwirq) irq_hw_number_t hwirq)
{ {
struct grgpio_priv *priv = d->host_data; struct grgpio_priv *priv = d->host_data;
struct grgpio_lirq *lirq; struct grgpio_lirq *lirq;
...@@ -291,7 +291,7 @@ int grgpio_irq_map(struct irq_domain *d, unsigned int irq, ...@@ -291,7 +291,7 @@ int grgpio_irq_map(struct irq_domain *d, unsigned int irq,
return ret; return ret;
} }
void grgpio_irq_unmap(struct irq_domain *d, unsigned int irq) static void grgpio_irq_unmap(struct irq_domain *d, unsigned int irq)
{ {
struct grgpio_priv *priv = d->host_data; struct grgpio_priv *priv = d->host_data;
int index; int index;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册