diff options
author | Tom Cherry <tcherry@nvidia.com> | 2011-01-21 14:40:30 -0800 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-02-04 18:16:51 -0800 |
commit | 675f46ee025616b6ff2a04b147731b9d115a6c1d (patch) | |
tree | 56f7de76eb2015016704e12b2b8f830f918dd7aa /arch | |
parent | 21f5bc602a71c41e5c281265b2491d1593a90b85 (diff) |
whistler: add irq to max8907c driver
Add irq to max8907c mfd driver to be used with RTC and battery charger
Change-Id: I55afc2269dbc2fc872f4aa2f79751896d1c77705
Reviewed-on: http://git-master/r/16616
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-tegra/board-whistler-power.c | 2 |
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, }, }; |