aboutsummaryrefslogtreecommitdiff
path: root/common/debug.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2021-10-11 14:02:31 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2021-10-11 14:02:31 +0300
commitebd34a9ab3809167e16e4107c8e72d1d81faff9c (patch)
tree321264b3083edc4f5306c2b48cb723909bfe7731 /common/debug.c
parent091463c1057f50b47156a138d7d1dbd09494a6d5 (diff)
downloadkmi-ebd34a9ab3809167e16e4107c8e72d1d81faff9c.tar.gz
kmi-ebd34a9ab3809167e16e4107c8e72d1d81faff9c.zip
Renamed [pv]addr_t to [pv]m_t
Diffstat (limited to 'common/debug.c')
-rw-r--r--common/debug.c2
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};
}