summaryrefslogtreecommitdiffstats
path: root/sys/dev/fdt/fdt_common.c
diff options
context:
space:
mode:
authorgonzo <gonzo@FreeBSD.org>2012-08-15 18:37:01 +0000
committergonzo <gonzo@FreeBSD.org>2012-08-15 18:37:01 +0000
commite3f6b14d4f65d89f072b2b4930db6518a8869117 (patch)
tree74813f7aed7d7882babeb3f482711e55b21683bc /sys/dev/fdt/fdt_common.c
parentf60463b5c48dfd5ae7ce435ea904c7ac39e35eac (diff)
downloadFreeBSD-src-e3f6b14d4f65d89f072b2b4930db6518a8869117.zip
FreeBSD-src-e3f6b14d4f65d89f072b2b4930db6518a8869117.tar.gz
Fix argument type for bus_space_map
Diffstat (limited to 'sys/dev/fdt/fdt_common.c')
-rw-r--r--sys/dev/fdt/fdt_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fdt/fdt_common.c b/sys/dev/fdt/fdt_common.c
index 0504c67..5619045 100644
--- a/sys/dev/fdt/fdt_common.c
+++ b/sys/dev/fdt/fdt_common.c
@@ -426,7 +426,7 @@ fdt_reg_to_rl(phandle_t node, struct resource_list *rl)
pcell_t addr_cells, size_cells;
int tuple_size, tuples;
int i, rv;
- long vaddr;
+ bus_space_handle_t vaddr;
long busaddr, bussize;
if (fdt_addrsize_cells(OF_parent(node), &addr_cells, &size_cells) != 0)
OpenPOWER on IntegriCloud