summaryrefslogtreecommitdiff
path: root/include/linux/mfd/da9052/da9052.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-05-13 21:53:23 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-05-13 22:14:02 +0400
commit8614419451d88bf99fff7f5e468fe45f8450891e (patch)
tree1a2ffca8a37b8e88612d9f168afc53ca880e8d96 /include/linux/mfd/da9052/da9052.h
parentdd775ae2549217d3ae09363e3edb305d0fa19928 (diff)
downloadlinux-8614419451d88bf99fff7f5e468fe45f8450891e.tar.xz
mfd: da9052: Fix genirq abuse
Rather than using the pointer passed back by the regmap API (or complaining because that wasn't actually being set) the da9052 driver was having some fun and games peering through genirq and regmap internals. Fix the driver to use the API as expected. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/mfd/da9052/da9052.h')
-rw-r--r--include/linux/mfd/da9052/da9052.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/da9052/da9052.h b/include/linux/mfd/da9052/da9052.h
index 7ffbd6e9e7fc..8313cd9658e3 100644
--- a/include/linux/mfd/da9052/da9052.h
+++ b/include/linux/mfd/da9052/da9052.h
@@ -80,6 +80,7 @@ struct da9052 {
struct regmap *regmap;
int irq_base;
+ struct regmap_irq_chip_data *irq_data;
u8 chip_id;
int chip_irq;