summaryrefslogtreecommitdiffstats
path: root/include/linux/regmap.h
diff options
context:
space:
mode:
authorMark Brown2012-08-20 22:45:05 +0200
committerMark Brown2012-10-15 02:49:23 +0200
commit90f790d2dc96f5a61855ae65b90e30c40c893a20 (patch)
tree5d88bc300043bf8a9925569b43f4686961bcd4c2 /include/linux/regmap.h
parentLinux 3.7-rc1 (diff)
downloadkernel-qcow2-linux-90f790d2dc96f5a61855ae65b90e30c40c893a20.tar.gz
kernel-qcow2-linux-90f790d2dc96f5a61855ae65b90e30c40c893a20.tar.xz
kernel-qcow2-linux-90f790d2dc96f5a61855ae65b90e30c40c893a20.zip
regmap: irq: Allow users to retrieve the irq_domain
This is useful for integration with other subsystems, especially MFD, and provides an alternative API for users that request their own IRQs. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/regmap.h')
-rw-r--r--include/linux/regmap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/regmap.h b/include/linux/regmap.h
index e3bcc3f4dcb8..b9e99799965d 100644
--- a/include/linux/regmap.h
+++ b/include/linux/regmap.h
@@ -19,6 +19,7 @@
struct module;
struct device;
struct i2c_client;
+struct irq_domain;
struct spi_device;
struct regmap;
struct regmap_range_cfg;
@@ -317,6 +318,7 @@ int regmap_add_irq_chip(struct regmap *map, int irq, int irq_flags,
void regmap_del_irq_chip(int irq, struct regmap_irq_chip_data *data);
int regmap_irq_chip_get_base(struct regmap_irq_chip_data *data);
int regmap_irq_get_virq(struct regmap_irq_chip_data *data, int irq);
+struct irq_domain *regmap_irq_get_domain(struct regmap_irq_chip_data *data);
#else