diff --git a/sys/sparc64/include/bus.h b/sys/sparc64/include/bus.h index de15af04c8a8..5cd08ab76213 100644 --- a/sys/sparc64/include/bus.h +++ b/sys/sparc64/include/bus.h @@ -1093,7 +1093,7 @@ sparc64_dmamem_alloc_size(bus_dma_tag_t pt, bus_dma_tag_t dt, void **v, int f, { bus_dma_tag_t lt; - for (lt = pt; lt->dt_dmamem_alloc == NULL; lt = lt->dt_parent) + for (lt = pt; lt->dt_dmamem_alloc_size == NULL; lt = lt->dt_parent) ; return ((*lt->dt_dmamem_alloc_size)(lt, dt, v, f, m, s)); } @@ -1119,7 +1119,7 @@ sparc64_dmamem_free_size(bus_dma_tag_t pt, bus_dma_tag_t dt, void *v, { bus_dma_tag_t lt; - for (lt = pt; lt->dt_dmamem_free == NULL; lt = lt->dt_parent) + for (lt = pt; lt->dt_dmamem_free_size == NULL; lt = lt->dt_parent) ; (*lt->dt_dmamem_free_size)(lt, dt, v, m, s); }