summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-whistler-power.c
diff options
context:
space:
mode:
authorTom Cherry <tcherry@nvidia.com>2011-01-21 14:40:30 -0800
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:46:25 -0800
commit13dfa51f82a791d89376644bea0c8b52207eb28c (patch)
treec010aeb92ae89e1446432500b16b8146240f18a5 /arch/arm/mach-tegra/board-whistler-power.c
parent13c8febdf400c9d1357424ed8de39038e6917412 (diff)
whistler: add irq to max8907c driver
Add irq to max8907c mfd driver to be used with RTC and battery charger Original-Change-Id: I55afc2269dbc2fc872f4aa2f79751896d1c77705 Reviewed-on: http://git-master/r/16616 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R1bb02c49817f294215c66b324f755f90dcc13f66
Diffstat (limited to 'arch/arm/mach-tegra/board-whistler-power.c')
-rw-r--r--arch/arm/mach-tegra/board-whistler-power.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-whistler-power.c b/arch/arm/mach-tegra/board-whistler-power.c
index 51029caac974..901e28325d38 100644
--- a/arch/arm/mach-tegra/board-whistler-power.c
+++ b/arch/arm/mach-tegra/board-whistler-power.c
@@ -209,11 +209,13 @@ static struct platform_device *whistler_max8907c_power_devices[] = {
static struct max8907c_platform_data max8907c_pdata = {
.num_subdevs = ARRAY_SIZE(whistler_max8907c_power_devices),
.subdevs = whistler_max8907c_power_devices,
+ .irq_base = TEGRA_NR_IRQS,
};
static struct i2c_board_info __initdata whistler_regulators[] = {
{
I2C_BOARD_INFO("max8907c", 0x3C),
+ .irq = INT_EXTERNAL_PMU,
.platform_data = &max8907c_pdata,
},
};