diff options
author | Tomasz Figa | 2013-06-24 14:39:52 +0200 |
---|---|---|
committer | Samuel Ortiz | 2013-06-30 23:29:44 +0200 |
commit | 443c6ae253e96db9a5800a28d7c61131e81c2dee (patch) | |
tree | c9df532a7f81a8799fe52f6845504b275803e58e /include/linux/mfd/max8998.h | |
parent | b5c46787df1f28b0a24499e275491ba9a505c8ec (diff) |
mfd: max8998: Add irq domain support
This patch adds irq domain support for max8998 interrupts.
To keep both non-DT and DT worlds happy, simple domain is used, which is
linear when no explicit IRQ base is specified and legacy, with static
mapping, otherwise.
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd/max8998.h')
-rw-r--r-- | include/linux/mfd/max8998.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mfd/max8998.h b/include/linux/mfd/max8998.h index 6823548d0c0a..75471183b87a 100644 --- a/include/linux/mfd/max8998.h +++ b/include/linux/mfd/max8998.h @@ -100,7 +100,7 @@ struct max8998_regulator_data { struct max8998_platform_data { struct max8998_regulator_data *regulators; int num_regulators; - int irq_base; + unsigned int irq_base; int ono; bool buck_voltage_lock; int buck1_voltage1; |