aboutsummaryrefslogtreecommitdiff
path: root/include/libfdt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libfdt.h')
-rw-r--r--include/libfdt.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libfdt.h b/include/libfdt.h
index 304abb7..602cdcb 100644
--- a/include/libfdt.h
+++ b/include/libfdt.h
@@ -9,11 +9,11 @@ struct cell_info {
uint32_t addr_cells;
};
-struct cell_info get_cellinfo(void *fdt, int offset);
-struct cell_info get_reginfo(void *fdt, const char *path);
+struct cell_info get_cellinfo(const void *fdt, const int offset);
+struct cell_info get_reginfo(const void *fdt, const char *path);
#if defined(DEBUG)
-void __dbg_fdt(void *fdt, int node_offset, int depth);
+void __dbg_fdt(const void *fdt, int node_offset, int depth);
#define dbg_fdt(fdt) __dbg_fdt(fdt, 0, 0)
#else
#define dbg_fdt(...)