aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/wm8350/core.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-10-12 11:15:09 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2009-12-13 13:20:55 -0500
commite0a3389ab9cb08813bf325616249abb29c4d2302 (patch)
treee7f1bd9d90a98cd23cb677d8aea6877985fed5cc /include/linux/mfd/wm8350/core.h
parentfba65fe0ededc538771e47f6d099d7c853f4776e (diff)
mfd: Split wm8350 IRQ code into a separate file
In preparation for refactoring - it's over 700 lines of well-isolated code and having it in a file by itself makes things more managable. While we're at it make sure that we clean up the IRQ if we fail after acquiring it on init. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd/wm8350/core.h')
-rw-r--r--include/linux/mfd/wm8350/core.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/mfd/wm8350/core.h b/include/linux/mfd/wm8350/core.h
index 1d595de6a055..32197fde904d 100644
--- a/include/linux/mfd/wm8350/core.h
+++ b/include/linux/mfd/wm8350/core.h
@@ -681,6 +681,8 @@ int wm8350_register_irq(struct wm8350 *wm8350, int irq,
681int wm8350_free_irq(struct wm8350 *wm8350, int irq); 681int wm8350_free_irq(struct wm8350 *wm8350, int irq);
682int wm8350_mask_irq(struct wm8350 *wm8350, int irq); 682int wm8350_mask_irq(struct wm8350 *wm8350, int irq);
683int wm8350_unmask_irq(struct wm8350 *wm8350, int irq); 683int wm8350_unmask_irq(struct wm8350 *wm8350, int irq);
684 684int wm8350_irq_init(struct wm8350 *wm8350, int irq,
685 struct wm8350_platform_data *pdata);
686int wm8350_irq_exit(struct wm8350 *wm8350);
685 687
686#endif 688#endif