]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7ff7ec139c2ce5910fa6c6cbfe5a3d40de98d174
treee911145cbddb755a9b181b0bf77e0137f3761f61
parent60a4762774e9d4a3992af1a46ad3dc621dc3be33
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