浏览代码

[PATCH] m68knommu: use irq_handler_t passing handler to PIT init

Use irq_handler_t type for passing timer handler to timer init code.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Greg Ungerer 18 年之前
父节点
当前提交
459c6a9b8e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/m68knommu/platform/5307/pit.c

+ 1 - 1
arch/m68knommu/platform/5307/pit.c

@@ -43,7 +43,7 @@ void coldfire_pit_tick(void)
 
 
 /***************************************************************************/
 /***************************************************************************/
 
 
-void coldfire_pit_init(irqreturn_t (*handler)(int, void *, struct pt_regs *))
+void coldfire_pit_init(irq_handler_t handler)
 {
 {
 	volatile unsigned char *icrp;
 	volatile unsigned char *icrp;
 	volatile unsigned long *imrp;
 	volatile unsigned long *imrp;