aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2012-11-13 08:48:05 -0500
committerSamuel Ortiz <sameo@linux.intel.com>2012-11-13 14:02:14 -0500
commit605511a848ae3ac4b2ce272ae6cbf8930b29ebb3 (patch)
tree477729d59b7dfcb071374ae9bd65e7182f516fa7 /include/linux/mfd
parent210afeecd41b97db8ad096a778243cdcec9f1189 (diff)
mfd: Convert tps6586x to irq_domain
Allocate the irq base if it base is not porvided i.e. in case of device tree invocation of this driver. Convert the tps6586x driver to irq domain, using a legacy IRQ mapping if an irq_base is specified in platform data or dynamically allocated and otherwise using a linear mapping. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> 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/tps6586x.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/tps6586x.h b/include/linux/mfd/tps6586x.h
index 2dd123194958..ebd8b08a386b 100644
--- a/include/linux/mfd/tps6586x.h
+++ b/include/linux/mfd/tps6586x.h
@@ -93,5 +93,6 @@ extern int tps6586x_set_bits(struct device *dev, int reg, uint8_t bit_mask);
93extern int tps6586x_clr_bits(struct device *dev, int reg, uint8_t bit_mask); 93extern int tps6586x_clr_bits(struct device *dev, int reg, uint8_t bit_mask);
94extern int tps6586x_update(struct device *dev, int reg, uint8_t val, 94extern int tps6586x_update(struct device *dev, int reg, uint8_t val,
95 uint8_t mask); 95 uint8_t mask);
96extern int tps6586x_irq_get_virq(struct device *dev, int irq);
96 97
97#endif /*__LINUX_MFD_TPS6586X_H */ 98#endif /*__LINUX_MFD_TPS6586X_H */