summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorskrll <skrll@NetBSD.org>2019-11-24 09:34:38 +0000
committerskrll <skrll@NetBSD.org>2019-11-24 09:34:38 +0000
commit5dfe8a0b822fef939117c8bf6b30a234e1007a58 (patch)
treefb9271dcbeb9c17dc4bfad4cb494f6a1781965f9 /sys/dev
parentefe11b6bb0e782f3b07068e0bf09ed284a225459 (diff)
Fix build
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/fdt/fdt_port.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/fdt/fdt_port.c b/sys/dev/fdt/fdt_port.c
index cd6f672f786..7c51068beca 100644
--- a/sys/dev/fdt/fdt_port.c
+++ b/sys/dev/fdt/fdt_port.c
@@ -1,4 +1,4 @@
-/* $NetBSD: fdt_port.c,v 1.3 2019/11/23 18:53:05 jmcneill Exp $ */
+/* $NetBSD: fdt_port.c,v 1.4 2019/11/24 09:34:38 skrll Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: fdt_port.c,v 1.3 2019/11/23 18:53:05 jmcneill Exp $");
+__KERNEL_RCSID(1, "$NetBSD: fdt_port.c,v 1.4 2019/11/24 09:34:38 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -257,7 +257,7 @@ fdt_ports_register(struct fdt_device_ports *ports, device_t self,
int port_phandle, child;
int i;
char buf[20];
- uint64_t id;
+ bus_addr_t id;
ports->dp_dev = self;
SLIST_INSERT_HEAD(&fdt_port_devices, ports, dp_list);