summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/twl-core.h
diff options
context:
space:
mode:
authorG, Manjunath Kondaiah <manjugk@ti.com>2010-10-19 11:02:48 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2010-10-29 00:30:16 +0200
commitb0b4a7c28ebee0763cae90d470cfff501a83be37 (patch)
treecff1414ea896c45036bfd12add01c4fa94a07777 /drivers/mfd/twl-core.h
parent50f19a45961ffa0445db02777ad9342119ceb2aa (diff)
downloadop-kernel-dev-b0b4a7c28ebee0763cae90d470cfff501a83be37.zip
op-kernel-dev-b0b4a7c28ebee0763cae90d470cfff501a83be37.tar.gz
mfd: Fix twl-irq function declaration warnings
Fixes following sparse warnings for twl4030 and twl6030 irq files. drivers/mfd/twl4030-irq.c:783:5: warning: symbol 'twl4030_init_irq' was not declared. Should it be static? drivers/mfd/twl4030-irq.c:863:5: warning: symbol 'twl4030_exit_irq' was not declared. Should it be static? drivers/mfd/twl4030-irq.c:873:5: warning: symbol 'twl4030_init_chip_irq' was not declared. Should it be static? drivers/mfd/twl6030-irq.c:226:5: warning: symbol 'twl6030_init_irq' was not declared. Should it be static? drivers/mfd/twl6030-irq.c:290:5: warning: symbol 'twl6030_exit_irq' was not declared. Should it be static? Signed-off-by: G, Manjunath Kondaiah <manjugk@ti.com> Cc: linux-arm-kernel@lists.infradead.org Cc: Tony Lindgren <tony@atomide.com> Cc: Nishanth Menon <nm@ti.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/twl-core.h')
-rw-r--r--drivers/mfd/twl-core.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/mfd/twl-core.h b/drivers/mfd/twl-core.h
new file mode 100644
index 0000000..8c50a55
--- /dev/null
+++ b/drivers/mfd/twl-core.h
@@ -0,0 +1,10 @@
+#ifndef __TWL_CORE_H__
+#define __TWL_CORE_H__
+
+extern int twl6030_init_irq(int irq_num, unsigned irq_base, unsigned irq_end);
+extern int twl6030_exit_irq(void);
+extern int twl4030_init_irq(int irq_num, unsigned irq_base, unsigned irq_end);
+extern int twl4030_exit_irq(void);
+extern int twl4030_init_chip_irq(const char *chip);
+
+#endif /* __TWL_CORE_H__ */
OpenPOWER on IntegriCloud