提交 8700d0af 编写于 作者: A Axel Lin 提交者: Linus Walleij

gpio: stmpe: Staticize non-exported symbols

Both stmpe_gpio_irq_map() and stmpe_gpio_irq_unmap() are not referenced
outside of this file, make them static.
Signed-off-by: NAxel Lin <axel.lin@ingics.com>
Acked-by: NLee Jones <lee.jones@linaro.org>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 1cdd8d52
...@@ -271,8 +271,8 @@ static irqreturn_t stmpe_gpio_irq(int irq, void *dev) ...@@ -271,8 +271,8 @@ static irqreturn_t stmpe_gpio_irq(int irq, void *dev)
return IRQ_HANDLED; return IRQ_HANDLED;
} }
int stmpe_gpio_irq_map(struct irq_domain *d, unsigned int virq, static int stmpe_gpio_irq_map(struct irq_domain *d, unsigned int virq,
irq_hw_number_t hwirq) irq_hw_number_t hwirq)
{ {
struct stmpe_gpio *stmpe_gpio = d->host_data; struct stmpe_gpio *stmpe_gpio = d->host_data;
...@@ -292,7 +292,7 @@ int stmpe_gpio_irq_map(struct irq_domain *d, unsigned int virq, ...@@ -292,7 +292,7 @@ int stmpe_gpio_irq_map(struct irq_domain *d, unsigned int virq,
return 0; return 0;
} }
void stmpe_gpio_irq_unmap(struct irq_domain *d, unsigned int virq) static void stmpe_gpio_irq_unmap(struct irq_domain *d, unsigned int virq)
{ {
#ifdef CONFIG_ARM #ifdef CONFIG_ARM
set_irq_flags(virq, 0); set_irq_flags(virq, 0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册