summaryrefslogtreecommitdiff
path: root/arch/m68k
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@linux-m68k.org>2022-01-17 15:15:45 +1000
committerGreg Ungerer <gerg@linux-m68k.org>2022-03-07 14:51:11 +1000
commitb73119222f2dd6b1c294cc6ef4b1fb7f9ff3adf5 (patch)
treed43d9c7738a801dea1fa39e3b5c23c553a0d0ce0 /arch/m68k
parentffb217a13a2eaf6d5bd974fc83036a53ca69f1e2 (diff)
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 <gerg@linux-m68k.org> Reported-by: kernel test robot <lkp@intel.com>
Diffstat (limited to 'arch/m68k')
-rw-r--r--arch/m68k/68000/dragen2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/m68k/68000/dragen2.c b/arch/m68k/68000/dragen2.c
index 62f10a9e1ab7..1a57eff28cfe 100644
--- a/arch/m68k/68000/dragen2.c
+++ b/arch/m68k/68000/dragen2.c
@@ -11,6 +11,7 @@
#include <linux/init.h>
#include <asm/machdep.h>
#include <asm/MC68VZ328.h>
+#include "m68328.h"
#include "screen.h"
/***************************************************************************/