diff --git a/sys/arm64/arm64/ofw_machdep.c b/sys/arm64/arm64/ofw_machdep.c index 5ea159443285..6a0b714cd208 100644 --- a/sys/arm64/arm64/ofw_machdep.c +++ b/sys/arm64/arm64/ofw_machdep.c @@ -49,6 +49,6 @@ OF_decode_addr(phandle_t dev, int regno, bus_space_tag_t *tag, if (err != 0) return (err); - *tag = memmap_bus; + *tag = &memmap_bus; return (bus_space_map(*tag, addr, size, 0, handle)); }