commit | a36516b016f52f0f6e5284025e3487f63b4be33b | [log] [tgz] |
---|---|---|
author | Laxman Dewangan <ldewangan@nvidia.com> | Thu Jan 03 16:16:57 2013 +0530 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Thu Feb 14 00:22:44 2013 +0100 |
tree | 240bad9dddca57a6e81eab93ed77ed9c13c5a9c2 | |
parent | 88b62b915b0b7e25870eb0604ed9a92ba4bfc9f7 [diff] |
mfd: palmas: Add rtc irq number as irq resource for palmas-rtc Palma RTC is capable of generating alarm interrupt. Pass the alarm interrupt as IRQ_RESOURCE for palmas-rtc sub device driver so that rtc driver can get irq as platform_get_irq(). Also pass the irq domain in mfd_add_devices() to properly offset the irqs for sub devices. This is needed when adding device through DT. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>