diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-05-10 05:32:28 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-05-30 13:20:22 -0400 |
commit | 8700d0afc8ec3bc93f1105a94babfec6f9573b82 (patch) | |
tree | e7d2f0e66dec050de4d4c46df911d89a85350f7c /drivers | |
parent | 1cdd8d52ecbedbce1cbac063aa5715810a228ab3 (diff) |
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: Axel Lin <axel.lin@ingics.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpio/gpio-stmpe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-stmpe.c b/drivers/gpio/gpio-stmpe.c index 671913e63458..b33bad1bb4df 100644 --- a/drivers/gpio/gpio-stmpe.c +++ b/drivers/gpio/gpio-stmpe.c | |||
@@ -271,8 +271,8 @@ static irqreturn_t stmpe_gpio_irq(int irq, void *dev) | |||
271 | return IRQ_HANDLED; | 271 | return IRQ_HANDLED; |
272 | } | 272 | } |
273 | 273 | ||
274 | int stmpe_gpio_irq_map(struct irq_domain *d, unsigned int virq, | 274 | static int stmpe_gpio_irq_map(struct irq_domain *d, unsigned int virq, |
275 | irq_hw_number_t hwirq) | 275 | irq_hw_number_t hwirq) |
276 | { | 276 | { |
277 | struct stmpe_gpio *stmpe_gpio = d->host_data; | 277 | struct stmpe_gpio *stmpe_gpio = d->host_data; |
278 | 278 | ||
@@ -292,7 +292,7 @@ int stmpe_gpio_irq_map(struct irq_domain *d, unsigned int virq, | |||
292 | return 0; | 292 | return 0; |
293 | } | 293 | } |
294 | 294 | ||
295 | void stmpe_gpio_irq_unmap(struct irq_domain *d, unsigned int virq) | 295 | static void stmpe_gpio_irq_unmap(struct irq_domain *d, unsigned int virq) |
296 | { | 296 | { |
297 | #ifdef CONFIG_ARM | 297 | #ifdef CONFIG_ARM |
298 | set_irq_flags(virq, 0); | 298 | set_irq_flags(virq, 0); |