mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
gpio: grgpio: Staticize local symbols
Local symbols accessed only in this file are made static. Signed-off-by: Sachin Kamat <[email protected]> Acked-by: Andreas Larsson <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
parent
10b20a931c
commit
61e3884ec1
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
* irq_create_mapping in grgpio_to_irq
|
||||
*/
|
||||
int grgpio_irq_map(struct irq_domain *d, unsigned int irq,
|
||||
irq_hw_number_t hwirq)
|
||||
static int grgpio_irq_map(struct irq_domain *d, unsigned int irq,
|
||||
irq_hw_number_t hwirq)
|
||||
{
|
||||
struct grgpio_priv *priv = d->host_data;
|
||||
struct grgpio_lirq *lirq;
|
||||
|
|
@ -291,7 +291,7 @@ int grgpio_irq_map(struct irq_domain *d, unsigned int irq,
|
|||
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;
|
||||
int index;
|
||||
|
|
|
|||
Loading…
Reference in a new issue