diff options
Diffstat (limited to 'common/fdt.c')
| -rw-r--r-- | common/fdt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/fdt.c b/common/fdt.c index c554b25..f76ad64 100644 --- a/common/fdt.c +++ b/common/fdt.c @@ -1,19 +1,19 @@ #include <libfdt.h> -struct cell_info_t get_cellinfo(void *fdt, int offset) +struct cell_info get_cellinfo(void *fdt, int offset) { - return (struct cell_info_t){ + return (struct cell_info){ fdt_size_cells(fdt, offset), fdt_address_cells(fdt, offset) }; } /* how "reg" is interpreted depends on the parent node */ -struct cell_info_t get_reginfo(void *fdt, const char *path) +struct cell_info get_reginfo(void *fdt, const char *path) { const char *i = strrchr(path, '/'); if(!i) - return (struct cell_info_t){0, 0}; + return (struct cell_info){0, 0}; size_t baselen = i - path; if(i == 0) |
