Skip to contentSkip to conversation

m68knommu: fix warning: no previous prototype for 'init_dragen2'

PATCH New Greg Ungerer 1 participant 1 message Jan 17, 2022

Subsystems (2)
lore
Share & tools
lore

Greg Ungerer

author maintainer
#0 lore raw

PATCH 1/1 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.

---
 arch/m68k/68000/dragen2.c | 1 +
 1 file changed, 1 insertion(+)
arch/m68k/68000/dragen2.c +1 -0
index 62f10a9e1ab7..1a57eff28cfe 100644
@@ -11,6 +11,7 @@
 #include <linux/init.h>
 #include <asm/machdep.h>
 #include <asm/MC68VZ328.h>
+#include "m68328.h"
 #include "screen.h"
 
 /***************************************************************************/
Signature · 1 line
2.25.1