diff options
author | Nishanth Menon <nm@ti.com> | 2012-02-22 21:03:59 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-03-06 12:46:49 -0500 |
commit | b8b8d7932bb83300d0ae6553e320ab1aecb37990 (patch) | |
tree | ee7187bba836df69dd87a26e228c47ffd96e9334 /drivers/mfd/twl6030-irq.c | |
parent | 3f8349e6e98ba0455437724589072523865eae5e (diff) |
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: Nishanth Menon <nm@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/twl6030-irq.c')
-rw-r--r-- | drivers/mfd/twl6030-irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/twl6030-irq.c b/drivers/mfd/twl6030-irq.c index aa367a2c846c..3c2cc0082f57 100644 --- a/drivers/mfd/twl6030-irq.c +++ b/drivers/mfd/twl6030-irq.c | |||
@@ -236,7 +236,7 @@ static inline void activate_irq(int irq) | |||
236 | #endif | 236 | #endif |
237 | } | 237 | } |
238 | 238 | ||
239 | int twl6030_irq_set_wake(struct irq_data *d, unsigned int on) | 239 | static int twl6030_irq_set_wake(struct irq_data *d, unsigned int on) |
240 | { | 240 | { |
241 | if (on) | 241 | if (on) |
242 | atomic_inc(&twl6030_wakeirqs); | 242 | atomic_inc(&twl6030_wakeirqs); |