summaryrefslogtreecommitdiff
path: root/test/powerdemo.c
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2011-12-19 13:36:18 -0800
committerRandall Spangler <rspangler@chromium.org>2011-12-19 13:48:05 -0800
commit84a286b1f49c25df1d44bbf87d748b20421f5521 (patch)
treecdfb346f7d5690921d96dc657bca4a07723321ff /test/powerdemo.c
parent117021278ca6a3069c7bb8c55868a2f40530ae1a (diff)
downloadchrome-ec-84a286b1f49c25df1d44bbf87d748b20421f5521.tar.gz
Use #defined constants for IRQ names
Signed-off-by: Randall Spangler <rspangler@chromium.org> BUG=none TEST=none Change-Id: If07ac671cef6b9d0e9fe0a96bf04455a3d2626ff
Diffstat (limited to 'test/powerdemo.c')
-rw-r--r--test/powerdemo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/powerdemo.c b/test/powerdemo.c
index 1fe4e00ee8..c809c1eac5 100644
--- a/test/powerdemo.c
+++ b/test/powerdemo.c
@@ -128,7 +128,7 @@ static void __gpio_d_interrupt(void)
}
}
-DECLARE_IRQ(3, __gpio_d_interrupt, 1);
+DECLARE_IRQ(LM4_IRQ_GPIOD, __gpio_d_interrupt, 1);
/* Timer interrupt handler */
@@ -172,7 +172,7 @@ static void __timer_w1_interrupt(void)
}
}
-DECLARE_IRQ(96, __timer_w1_interrupt, 1);
+DECLARE_IRQ(LM4_IRQ_TIMERW1A, __timer_w1_interrupt, 1);
int power_demo_task(void)
{