summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2013-11-19 09:38:02 +0100
committerStefan Agner <stefan.agner@toradex.com>2013-11-19 09:38:27 +0100
commiteaa8626901b2d33824895e2ad6d926dedbabe2f7 (patch)
treed4b3c28a877c063b22bafbff0307b1478fad6474 /arch
parentfec5167fe961460c46a2e4b8898b7f5611f00589 (diff)
apalis_t30: use TPS6591X specific IRQ base for RTC
Use TPS6591X IRQ base define to calculate correct IRQ number.
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-tegra/board-apalis_t30-power.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board-apalis_t30-power.c b/arch/arm/mach-tegra/board-apalis_t30-power.c
index 5e1bc2231b0d..043ccd96fcad 100644
--- a/arch/arm/mach-tegra/board-apalis_t30-power.c
+++ b/arch/arm/mach-tegra/board-apalis_t30-power.c
@@ -193,7 +193,7 @@ TPS_PDATA_INIT(ldo8, 0, 1000, 1000, tps6591x_rails(VIO), 1, 0, 0, -1, 0,
#if defined(CONFIG_RTC_DRV_TPS6591x)
static struct tps6591x_rtc_platform_data rtc_data = {
- .irq = TEGRA_NR_IRQS + TPS6591X_INT_RTC_ALARM,
+ .irq = TPS6591X_IRQ_BASE + TPS6591X_INT_RTC_ALARM,
.time = {
.tm_year = 2000,
.tm_mon = 0,