Commit b8b8d793 authored by Nishanth Menon's avatar Nishanth Menon Committed by Samuel Ortiz

mfd: Make twl6030_irq_set_wake static

twl6030_irq_set_wake is not used anywhere else in the kernel
except as irq_chip.irq_set_wake. No reason for it to be exported.

Also fixes build warning:
drivers/mfd/twl6030-irq.c:230:5: warning: symbol 'twl6030_irq_set_wake' was not declared. Should it be static?
Signed-off-by: default avatarNishanth Menon <nm@ti.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 3f8349e6
...@@ -236,7 +236,7 @@ static inline void activate_irq(int irq) ...@@ -236,7 +236,7 @@ static inline void activate_irq(int irq)
#endif #endif
} }
int twl6030_irq_set_wake(struct irq_data *d, unsigned int on) static int twl6030_irq_set_wake(struct irq_data *d, unsigned int on)
{ {
if (on) if (on)
atomic_inc(&twl6030_wakeirqs); atomic_inc(&twl6030_wakeirqs);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment