summaryrefslogtreecommitdiffstats
path: root/arch/nios2/kernel/prom.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2016-04-04 11:51:08 +0200
committerTakashi Iwai <tiwai@suse.de>2016-04-04 11:51:08 +0200
commita99e31512aa435e8391ba5f5e64abeac9c5f2f32 (patch)
tree56bb9d9ccfe76520b672249757e25f686275b204 /arch/nios2/kernel/prom.c
parentALSA: firewire-digi00x: delayed registration of sound card (diff)
parentALSA: usb-audio: Add a sample rate quirk for Phoenix Audio TMX320 (diff)
downloadlinux-a99e31512aa435e8391ba5f5e64abeac9c5f2f32.tar.xz
linux-a99e31512aa435e8391ba5f5e64abeac9c5f2f32.zip
Merge branch 'for-linus' into for-next
Conflicts: sound/hda/hdac_i915.c Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'arch/nios2/kernel/prom.c')
-rw-r--r--arch/nios2/kernel/prom.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/nios2/kernel/prom.c b/arch/nios2/kernel/prom.c
index 718dd197909f..367c5426157b 100644
--- a/arch/nios2/kernel/prom.c
+++ b/arch/nios2/kernel/prom.c
@@ -97,8 +97,7 @@ static int __init early_init_dt_scan_serial(unsigned long node,
return 0;
#endif
- *addr64 = fdt_translate_address((const void *)initial_boot_params,
- node);
+ *addr64 = of_flat_dt_translate_address(node);
return *addr64 == OF_BAD_ADDR ? 0 : 1;
}