summaryrefslogtreecommitdiffstats
path: root/arch/m68knommu/platform/68328/timers.c
diff options
context:
space:
mode:
authorGreg Ungerer2007-03-07 02:28:13 +0100
committerLinus Torvalds2007-03-07 03:08:38 +0100
commit1ea9acc7823587266a26293a3b74deafc6637427 (patch)
tree0b664aca895c8b1a9c566b54875d4419c0a794a3 /arch/m68knommu/platform/68328/timers.c
parent[PATCH] m68knommu: use irq_handler_t for passing handler types in 68360 setup (diff)
downloadkernel-qcow2-linux-1ea9acc7823587266a26293a3b74deafc6637427.tar.gz
kernel-qcow2-linux-1ea9acc7823587266a26293a3b74deafc6637427.tar.xz
kernel-qcow2-linux-1ea9acc7823587266a26293a3b74deafc6637427.zip
[PATCH] m68knommu: use irq_handler_t for passing handler types in 68328 setup
Use irq_handler_t type for passing around timer interrupt routine in 368360 setup code. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m68knommu/platform/68328/timers.c')
-rw-r--r--arch/m68knommu/platform/68328/timers.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/m68knommu/platform/68328/timers.c b/arch/m68knommu/platform/68328/timers.c
index 438ef6ee9720..ef067f4c3cd4 100644
--- a/arch/m68knommu/platform/68328/timers.c
+++ b/arch/m68knommu/platform/68328/timers.c
@@ -17,6 +17,7 @@
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/mm.h>
+#include <linux/interrupt.h>
#include <asm/setup.h>
#include <asm/system.h>
#include <asm/pgtable.h>
@@ -52,7 +53,7 @@
/***************************************************************************/
-void m68328_timer_init(irqreturn_t (*timer_routine) (int, void *, struct pt_regs *))
+void m68328_timer_init(irq_handler_t timer_routine)
{
/* disable timer 1 */
TCTL = 0;