From b73119222f2dd6b1c294cc6ef4b1fb7f9ff3adf5 Mon Sep 17 00:00:00 2001 From: Greg Ungerer Date: Mon, 17 Jan 2022 15:15:45 +1000 Subject: [PATCH] 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 --- arch/m68k/68000/dragen2.c | 1 + 1 file changed, 1 insertion(+) 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" /***************************************************************************/ -- 2.30.2