diff options
author | Rhyland Klein <rklein@nvidia.com> | 2012-05-18 05:52:19 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-05-20 11:27:08 -0400 |
commit | 21f7541d8861fdcdff663c68903e961ca1b06dc6 (patch) | |
tree | 48e9c376058b13a653146bd67c9e097f794f2ce8 /include/linux/mfd/tps65910.h | |
parent | b09530ef844f0bf29ed3677080c02b179be84818 (diff) |
mfd: Add tps65910-irq devicetree init and irqdomain support
This change changes the tps65910-irq code to use irqdomain, and support
initialization from devicetree. This assumes that the irq_base in the
platform data is -1 if devicetree is used.
Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd/tps65910.h')
-rw-r--r-- | include/linux/mfd/tps65910.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/tps65910.h b/include/linux/mfd/tps65910.h index c2673ee5e70f..ab04e901e57e 100644 --- a/include/linux/mfd/tps65910.h +++ b/include/linux/mfd/tps65910.h | |||
@@ -836,6 +836,7 @@ struct tps65910 { | |||
836 | int irq_base; | 836 | int irq_base; |
837 | int irq_num; | 837 | int irq_num; |
838 | u32 irq_mask; | 838 | u32 irq_mask; |
839 | struct irq_domain *domain; | ||
839 | }; | 840 | }; |
840 | 841 | ||
841 | struct tps65910_platform_data { | 842 | struct tps65910_platform_data { |