Skip to content

Commit

Permalink
mfd: Make twl6030_irq_set_wake static
Browse files Browse the repository at this point in the history
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: Nishanth Menon <nm@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
  • Loading branch information
Nishanth Menon authored and Samuel Ortiz committed Mar 6, 2012
1 parent 3f8349e commit b8b8d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mfd/twl6030-irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ static inline void activate_irq(int irq)
#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)
atomic_inc(&twl6030_wakeirqs);
Expand Down

0 comments on commit b8b8d79

Please sign in to comment.