summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorRhyland Klein <rklein@nvidia.com>2012-05-18 11:52:19 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2012-05-20 17:27:08 +0200
commit21f7541d8861fdcdff663c68903e961ca1b06dc6 (patch)
tree48e9c376058b13a653146bd67c9e097f794f2ce8 /include/linux/mfd
parentb09530ef844f0bf29ed3677080c02b179be84818 (diff)
downloadlinux-stable-21f7541d8861fdcdff663c68903e961ca1b06dc6.tar.gz
linux-stable-21f7541d8861fdcdff663c68903e961ca1b06dc6.tar.bz2
linux-stable-21f7541d8861fdcdff663c68903e961ca1b06dc6.zip
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')
-rw-r--r--include/linux/mfd/tps65910.h1
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 {
int irq_base;
int irq_num;
u32 irq_mask;
+ struct irq_domain *domain;
};
struct tps65910_platform_data {