diff options
Diffstat (limited to 'common/debug.c')
| -rw-r--r-- | common/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/debug.c b/common/debug.c index 523ae7b..73b6894 100644 --- a/common/debug.c +++ b/common/debug.c @@ -83,7 +83,7 @@ struct dbg_info_t dbg_from_fdt(void *fdt) struct cell_info_t ci = get_reginfo(fdt, stdout); void *reg_ptr = (void *)fdt_getprop(fdt, stdout_offset, "reg", NULL); - void *dbg_ptr = (void *)(paddr_t)fdt_load_int_ptr(ci.addr_cells, reg_ptr); + void *dbg_ptr = (void *)(pm_t)fdt_load_int_ptr(ci.addr_cells, reg_ptr); return (struct dbg_info_t){dbg_ptr, dev}; } |
