diff options
Diffstat (limited to 'include/libfdt.h')
| -rw-r--r-- | include/libfdt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libfdt.h b/include/libfdt.h index 7425aef..406b6d7 100644 --- a/include/libfdt.h +++ b/include/libfdt.h @@ -9,7 +9,7 @@ void __dbg_fdt(void *fdt, int node_offset, int depth); #define dbg_fdt(...) #endif -#define fdt_load_int_ptr(t, c, p)\ - ((c) == 2 ? (t)fdt64_to_cpu(*(fdt64_t *)(p)) : (t)fdt32_to_cpu(*(fdt32_t *)(p))) +#define fdt_load_int_ptr(c, p)\ + ((c) == 2 ? fdt64_to_cpu(*(fdt64_t *)(p)) : fdt32_to_cpu(*(fdt32_t *)(p))) #endif |
