]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
m68knommu: fix irq handler types in 68360/commproc.c
authorGreg Ungerer <gerg@uclinux.org>
Mon, 10 Nov 2014 01:41:18 +0000 (11:41 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Tue, 3 Feb 2015 04:16:23 +0000 (14:16 +1000)
commit7372eefc15f0f6d6d97c4afbf8be3ba12105a633
tree20524f619d606fbea9c656e33644498446cb2018
parentef0012b48cb7410014b733de939470d80d827dfe
m68knommu: fix irq handler types in 68360/commproc.c

Compilation of arch/m68k/68360/commproc.c fails with the following errors:

arch/m68k/68360/commproc.c:75:1: error: function declaration isn’t a prototype
arch/m68k/68360/commproc.c:211:1: error: function declaration isn’t a prototype
arch/m68k/68360/commproc.c: In function ‘cpm_install_handler’:
arch/m68k/68360/commproc.c:214:2: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
include/linux/interrupt.h:128:1: note: expected ‘irq_handler_t’ but argument is of type ‘void (*)()’

It should be using the proper irq hander type, irq_handler_t. Modify it
to use that.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/68360/commproc.c
arch/m68k/include/asm/commproc.h