diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-08-17 08:13:36 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-10-28 18:28:37 -0400 |
commit | f337134ff0cfe60fb1e347bc45b8e7190ef90a82 (patch) | |
tree | c58ca0d268367bc98b6d18234670fe2659d11df2 | |
parent | c9e2a72ff1acfdffdecb338b3d997f90c507e665 (diff) |
mfd: Move PCF50633 IRQ protoypes where the definitions can see them
Fixed warnings about unprototyped global functions.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r-- | drivers/mfd/pcf50633-core.c | 7 | ||||
-rw-r--r-- | include/linux/mfd/pcf50633/core.h | 7 |
2 files changed, 7 insertions, 7 deletions
diff --git a/drivers/mfd/pcf50633-core.c b/drivers/mfd/pcf50633-core.c index 23e585527285..6d4233f0d0d3 100644 --- a/drivers/mfd/pcf50633-core.c +++ b/drivers/mfd/pcf50633-core.c | |||
@@ -25,13 +25,6 @@ | |||
25 | 25 | ||
26 | #include <linux/mfd/pcf50633/core.h> | 26 | #include <linux/mfd/pcf50633/core.h> |
27 | 27 | ||
28 | int pcf50633_irq_init(struct pcf50633 *pcf, int irq); | ||
29 | void pcf50633_irq_free(struct pcf50633 *pcf); | ||
30 | #ifdef CONFIG_PM | ||
31 | int pcf50633_irq_suspend(struct pcf50633 *pcf); | ||
32 | int pcf50633_irq_resume(struct pcf50633 *pcf); | ||
33 | #endif | ||
34 | |||
35 | static int __pcf50633_read(struct pcf50633 *pcf, u8 reg, int num, u8 *data) | 28 | static int __pcf50633_read(struct pcf50633 *pcf, u8 reg, int num, u8 *data) |
36 | { | 29 | { |
37 | int ret; | 30 | int ret; |
diff --git a/include/linux/mfd/pcf50633/core.h b/include/linux/mfd/pcf50633/core.h index ad411a78870c..50d4a047118d 100644 --- a/include/linux/mfd/pcf50633/core.h +++ b/include/linux/mfd/pcf50633/core.h | |||
@@ -227,4 +227,11 @@ static inline struct pcf50633 *dev_to_pcf50633(struct device *dev) | |||
227 | return dev_get_drvdata(dev); | 227 | return dev_get_drvdata(dev); |
228 | } | 228 | } |
229 | 229 | ||
230 | int pcf50633_irq_init(struct pcf50633 *pcf, int irq); | ||
231 | void pcf50633_irq_free(struct pcf50633 *pcf); | ||
232 | #ifdef CONFIG_PM | ||
233 | int pcf50633_irq_suspend(struct pcf50633 *pcf); | ||
234 | int pcf50633_irq_resume(struct pcf50633 *pcf); | ||
235 | #endif | ||
236 | |||
230 | #endif | 237 | #endif |