From: Greg Ungerer Date: Mon, 17 Jan 2022 05:15:45 +0000 (+1000) Subject: m68knommu: fix warning: no previous prototype for 'init_dragen2' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b73119222f2dd6b1c294cc6ef4b1fb7f9ff3adf5;p=linux.git m68knommu: fix warning: no previous prototype for 'init_dragen2' Fix the compile time warning: arch/m68k/68000/dragen2.c:38:13: warning: no previous prototype for 'init_dragen2' [-Wmissing-prototypes] 38 | void __init init_dragen2(char *command, int size) | ^~~~~~~~~~~~ There already exists a header file prototype, but that file was not included in the dragen2.c code. Signed-off-by: Greg Ungerer Reported-by: kernel test robot --- diff --git a/arch/m68k/68000/dragen2.c b/arch/m68k/68000/dragen2.c index 62f10a9e1ab7f..1a57eff28cfe5 100644 --- a/arch/m68k/68000/dragen2.c +++ b/arch/m68k/68000/dragen2.c @@ -11,6 +11,7 @@ #include #include #include +#include "m68328.h" #include "screen.h" /***************************************************************************/