diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-13 18:53:23 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-13 19:14:02 +0100 |
commit | 8614419451d88bf99fff7f5e468fe45f8450891e (patch) | |
tree | 1a2ffca8a37b8e88612d9f168afc53ca880e8d96 /include/linux/mfd/da9052 | |
parent | dd775ae2549217d3ae09363e3edb305d0fa19928 (diff) | |
download | linux-stable-8614419451d88bf99fff7f5e468fe45f8450891e.tar.gz linux-stable-8614419451d88bf99fff7f5e468fe45f8450891e.tar.bz2 linux-stable-8614419451d88bf99fff7f5e468fe45f8450891e.zip |
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')
-rw-r--r-- | include/linux/mfd/da9052/da9052.h | 1 |
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; |