diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2012-10-03 23:15:05 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-11-20 06:21:10 -0500 |
commit | 8bad1abd6303476d6f77878aa8ea737d5d1b625c (patch) | |
tree | 20c281ad1403dc581416a15e5b9ef7758146a81b /include/linux/mfd | |
parent | ffe20b6854db455a0c40e5fe1f9db2cfc9a62c6a (diff) |
mfd: da9052: Introduce da9052-irq.c
Create a da9052-irq.c file so that it can handle interrupt related functions.
This is useful for allowing the da9052 drivers to use such functions
when dealing with da9052 interrupts.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/da9052/da9052.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/mfd/da9052/da9052.h b/include/linux/mfd/da9052/da9052.h index 0507c4c21a7d..86dd93de6ff2 100644 --- a/include/linux/mfd/da9052/da9052.h +++ b/include/linux/mfd/da9052/da9052.h | |||
@@ -146,4 +146,14 @@ void da9052_device_exit(struct da9052 *da9052); | |||
146 | 146 | ||
147 | extern struct regmap_config da9052_regmap_config; | 147 | extern struct regmap_config da9052_regmap_config; |
148 | 148 | ||
149 | int da9052_irq_init(struct da9052 *da9052); | ||
150 | int da9052_irq_exit(struct da9052 *da9052); | ||
151 | int da9052_request_irq(struct da9052 *da9052, int irq, char *name, | ||
152 | irq_handler_t handler, void *data); | ||
153 | void da9052_free_irq(struct da9052 *da9052, int irq, void *data); | ||
154 | |||
155 | int da9052_enable_irq(struct da9052 *da9052, int irq); | ||
156 | int da9052_disable_irq(struct da9052 *da9052, int irq); | ||
157 | int da9052_disable_irq_nosync(struct da9052 *da9052, int irq); | ||
158 | |||
149 | #endif /* __MFD_DA9052_DA9052_H */ | 159 | #endif /* __MFD_DA9052_DA9052_H */ |