summaryrefslogtreecommitdiff
path: root/sys/dev/fdt
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2019-10-17 22:26:33 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2019-10-17 22:26:33 +0000
commit9d4c3a4cd69891ecb3f1518de946e7c5370ae9fe (patch)
tree53455c25e879b4cb277e7e70bd409dffcd6536e7 /sys/dev/fdt
parent427dd5625b83ff7b68de977f272b2d278e3f7c9d (diff)
Avoid including an armv7 MD header.
ok jsg@
Diffstat (limited to 'sys/dev/fdt')
-rw-r--r--sys/dev/fdt/sxidog.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/fdt/sxidog.c b/sys/dev/fdt/sxidog.c
index 50d78168b83..59c41c1e895 100644
--- a/sys/dev/fdt/sxidog.c
+++ b/sys/dev/fdt/sxidog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sxidog.c,v 1.1 2019/10/16 22:11:17 kettenis Exp $ */
+/* $OpenBSD: sxidog.c,v 1.2 2019/10/17 22:26:32 kettenis Exp $ */
/*
* Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org>
*
@@ -22,12 +22,13 @@
#include <machine/bus.h>
#include <machine/fdt.h>
-#include <armv7/armv7/armv7_machdep.h>
#include <dev/fdt/sunxireg.h>
#include <dev/ofw/openfirm.h>
#include <dev/ofw/fdt.h>
+extern void (*cpuresetfn)(void);
+
/* Allwinner A10 registers */
#define WDOG_CTRL_REG 0x00
#define WDOG_KEY (0x0a57 << 1)