summaryrefslogtreecommitdiffstats
path: root/sys/dev/ofw/fdt.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ofw/fdt.h')
-rw-r--r--sys/dev/ofw/fdt.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ofw/fdt.h b/sys/dev/ofw/fdt.h
index 2e1c40517ab..1e4263cceba 100644
--- a/sys/dev/ofw/fdt.h
+++ b/sys/dev/ofw/fdt.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: fdt.h,v 1.4 2016/07/09 12:31:05 kettenis Exp $ */
+/* $OpenBSD: fdt.h,v 1.5 2016/07/26 22:10:10 patrick Exp $ */
/*
* Copyright (c) 2009 Dariusz Swiderski <sfires@sfires.net>
@@ -38,7 +38,7 @@ struct fdt {
int strings_size;
};
-struct fdt_memory {
+struct fdt_reg {
uint64_t addr;
uint64_t size;
};
@@ -61,7 +61,7 @@ void *fdt_find_node(char *);
int fdt_node_property(void *, char *, char **);
void *fdt_parent_node(void *);
void *fdt_find_phandle(uint32_t);
-int fdt_get_memory_address(void *, int, struct fdt_memory *);
+int fdt_get_reg(void *, int, struct fdt_reg *);
int fdt_is_compatible(void *, const char *);
#ifdef DEBUG
void *fdt_print_property(void *, int);