m68knommu: fix 68360 local setting of timer interrupt handler
authorGreg Ungerer <gerg@uclinux.org>
Wed, 23 May 2012 03:32:55 +0000 (13:32 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Tue, 12 Jun 2012 01:58:28 +0000 (11:58 +1000)
commit1b461d7631f17804257ab1734bd95c05ab655f8b
treee911145cbddb755a9b181b0bf77e0137f3761f61
parentdc5588ae3c597006095926c25634408257457a8f
m68knommu: fix 68360 local setting of timer interrupt handler

Compiling for 68360 based targets fails with:

    arch/m68k/platform/68360/config.c: In function ‘hw_tick’:
    arch/m68k/platform/68360/config.c:55:2: error: implicit declaration of function ‘arch_timer_interrupt’
    arch/m68k/platform/68360/config.c: At top level:
    arch/m68k/platform/68360/config.c:64:6: error: conflicting types for ‘hw_timer_init’
    arch/m68k/include/asm/machdep.h:36:13: note: previous declaration of ‘hw_timer_init’ was here

Changes made to hw_timer_init() didn't get updated in the 68328 timer code.
So process and call the "handler" arg that is now passed into that
hw_timer_init() function.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/platform/68360/config.c