summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2019-10-17 22:26:32 +0000
committerkettenis <kettenis@openbsd.org>2019-10-17 22:26:32 +0000
commit66ac59245f8dc8c2a4328872749360410494938d (patch)
tree9950d41f445791e9a08756ca5a07f207f04bed68
parentdrm/amd/display: num of sw i2c/aux engines less than num of connectors (diff)
downloadwireguard-openbsd-66ac59245f8dc8c2a4328872749360410494938d.tar.xz
wireguard-openbsd-66ac59245f8dc8c2a4328872749360410494938d.zip
Avoid including an armv7 MD header.
ok jsg@
-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)