aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/of
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/of')
-rw-r--r--drivers/of/fdt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c
index 56fbd6e3122a..968a86af5301 100644
--- a/drivers/of/fdt.c
+++ b/drivers/of/fdt.c
@@ -431,9 +431,9 @@ int __init early_init_dt_scan_root(unsigned long node, const char *uname,
431 return 1; 431 return 1;
432} 432}
433 433
434u64 __init dt_mem_next_cell(int s, u32 **cellp) 434u64 __init dt_mem_next_cell(int s, __be32 **cellp)
435{ 435{
436 u32 *p = *cellp; 436 __be32 *p = *cellp;
437 437
438 *cellp = p + s; 438 *cellp = p + s;
439 return of_read_number(p, s); 439 return of_read_number(p, s);