diff options
author | Steven King <sfking@fdwdc.com> | 2012-06-06 23:02:14 +0200 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2012-07-16 01:59:21 +0200 |
commit | bdee4e26ba6568118f2376ebcfdeef3b7f527bce (patch) | |
tree | 6a0c684b48ea98c606d634aac2c9cb1707f31095 /arch/m68k/platform/coldfire/pit.c | |
parent | coldfire-qspi: Add support for the Coldfire 5251/5253. (diff) | |
download | linux-bdee4e26ba6568118f2376ebcfdeef3b7f527bce.tar.xz linux-bdee4e26ba6568118f2376ebcfdeef3b7f527bce.zip |
m68knommu: use MCF_IRQ_PIT1 instead of MCFINT_VECBASE + MCFINT_PIT1
use MCF_IRQ_PIT1 instead of MCFINT_VECBASE + MCFINT_PIT1 so we can support
those parts that have the pit1 interrupt on other than the first interrupt
controller.
Signed-off-by: Steven King <sfking@fdwdc.com>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/platform/coldfire/pit.c')
-rw-r--r-- | arch/m68k/platform/coldfire/pit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/m68k/platform/coldfire/pit.c b/arch/m68k/platform/coldfire/pit.c index e62dbbcb10f6..e8f3b97b0f77 100644 --- a/arch/m68k/platform/coldfire/pit.c +++ b/arch/m68k/platform/coldfire/pit.c @@ -93,7 +93,7 @@ struct clock_event_device cf_pit_clockevent = { .set_mode = init_cf_pit_timer, .set_next_event = cf_pit_next_event, .shift = 32, - .irq = MCFINT_VECBASE + MCFINT_PIT1, + .irq = MCF_IRQ_PIT1, }; @@ -159,7 +159,7 @@ void hw_timer_init(irq_handler_t handler) clockevent_delta2ns(0x3f, &cf_pit_clockevent); clockevents_register_device(&cf_pit_clockevent); - setup_irq(MCFINT_VECBASE + MCFINT_PIT1, &pit_irq); + setup_irq(MCF_IRQ_PIT1, &pit_irq); clocksource_register_hz(&pit_clk, FREQ); } |