]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
m68knommu: fix warning: no previous prototype for 'init_dragen2'
authorGreg Ungerer <gerg@linux-m68k.org>
Mon, 17 Jan 2022 05:15:45 +0000 (15:15 +1000)
committerGreg Ungerer <gerg@linux-m68k.org>
Mon, 7 Mar 2022 04:51:11 +0000 (14:51 +1000)
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 <gerg@linux-m68k.org>
Reported-by: kernel test robot <lkp@intel.com>
arch/m68k/68000/dragen2.c

index 62f10a9e1ab7fab8afd240205ce474c07145987f..1a57eff28cfe5f9c641ab58c934b9b7e8bbd3586 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/init.h>
 #include <asm/machdep.h>
 #include <asm/MC68VZ328.h>
+#include "m68328.h"
 #include "screen.h"
 
 /***************************************************************************/