summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/intel_common/lpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/cpu/intel_common/lpc.c')
-rw-r--r--arch/x86/cpu/intel_common/lpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/cpu/intel_common/lpc.c b/arch/x86/cpu/intel_common/lpc.c
index 03cb45b636..696b6304fe 100644
--- a/arch/x86/cpu/intel_common/lpc.c
+++ b/arch/x86/cpu/intel_common/lpc.c
@@ -50,7 +50,7 @@ int lpc_common_early_init(struct udevice *dev)
int count;
int i;
- count = fdtdec_get_int_array_count(gd->fdt_blob, dev->of_offset,
+ count = fdtdec_get_int_array_count(gd->fdt_blob, dev_of_offset(dev),
"intel,gen-dec", (u32 *)values,
sizeof(values) / sizeof(u32));
if (count < 0)