diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-06-18 07:37:03 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-06-19 15:40:38 -0400 |
commit | 61e3884ec1b41ebd0395e7faf856592f228c8724 (patch) | |
tree | 6d9917a71c5c7bafeb671d8ae1a74285c990b0ec /drivers/gpio | |
parent | 10b20a931c74a828bd02b5b879223a3d51cb4985 (diff) |
gpio: grgpio: Staticize local symbols
Local symbols accessed only in this file are made static.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/gpio-grgpio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-grgpio.c b/drivers/gpio/gpio-grgpio.c index 8e08b8647655..84d2478ec294 100644 --- a/drivers/gpio/gpio-grgpio.c +++ b/drivers/gpio/gpio-grgpio.c | |||
@@ -235,8 +235,8 @@ static irqreturn_t grgpio_irq_handler(int irq, void *dev) | |||
235 | * This function will be called as a consequence of the call to | 235 | * This function will be called as a consequence of the call to |
236 | * irq_create_mapping in grgpio_to_irq | 236 | * irq_create_mapping in grgpio_to_irq |
237 | */ | 237 | */ |
238 | int grgpio_irq_map(struct irq_domain *d, unsigned int irq, | 238 | static int grgpio_irq_map(struct irq_domain *d, unsigned int irq, |
239 | irq_hw_number_t hwirq) | 239 | irq_hw_number_t hwirq) |
240 | { | 240 | { |
241 | struct grgpio_priv *priv = d->host_data; | 241 | struct grgpio_priv *priv = d->host_data; |
242 | struct grgpio_lirq *lirq; | 242 | struct grgpio_lirq *lirq; |
@@ -291,7 +291,7 @@ int grgpio_irq_map(struct irq_domain *d, unsigned int irq, | |||
291 | return ret; | 291 | return ret; |
292 | } | 292 | } |
293 | 293 | ||
294 | void grgpio_irq_unmap(struct irq_domain *d, unsigned int irq) | 294 | static void grgpio_irq_unmap(struct irq_domain *d, unsigned int irq) |
295 | { | 295 | { |
296 | struct grgpio_priv *priv = d->host_data; | 296 | struct grgpio_priv *priv = d->host_data; |
297 | int index; | 297 | int index; |