diff options
author | Lee Jones <lee.jones@linaro.org> | 2012-11-05 10:10:31 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-11-11 17:35:03 -0500 |
commit | 76f93992e4c44f30be797d5c99d6f369ed001747 (patch) | |
tree | f4ece6f5b6cf7bcd06f3460640b01807fae6fc0a /include/linux/mfd | |
parent | 7da0cbfc54c82eec793ff3d1b23b7a25406c6dba (diff) |
mfd: Provide the STMPE driver with its own IRQ domain
The STMPE driver is yet another IRQ controller which requires its
own IRQ domain. So, we provide it with one.
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/stmpe.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mfd/stmpe.h b/include/linux/mfd/stmpe.h index f8d5b4d5843f..15dac790365f 100644 --- a/include/linux/mfd/stmpe.h +++ b/include/linux/mfd/stmpe.h | |||
@@ -62,6 +62,7 @@ struct stmpe_client_info; | |||
62 | * @lock: lock protecting I/O operations | 62 | * @lock: lock protecting I/O operations |
63 | * @irq_lock: IRQ bus lock | 63 | * @irq_lock: IRQ bus lock |
64 | * @dev: device, mostly for dev_dbg() | 64 | * @dev: device, mostly for dev_dbg() |
65 | * @irq_domain: IRQ domain | ||
65 | * @client: client - i2c or spi | 66 | * @client: client - i2c or spi |
66 | * @ci: client specific information | 67 | * @ci: client specific information |
67 | * @partnum: part number | 68 | * @partnum: part number |
@@ -79,6 +80,7 @@ struct stmpe { | |||
79 | struct mutex lock; | 80 | struct mutex lock; |
80 | struct mutex irq_lock; | 81 | struct mutex irq_lock; |
81 | struct device *dev; | 82 | struct device *dev; |
83 | struct irq_domain *domain; | ||
82 | void *client; | 84 | void *client; |
83 | struct stmpe_client_info *ci; | 85 | struct stmpe_client_info *ci; |
84 | enum stmpe_partnum partnum; | 86 | enum stmpe_partnum partnum; |