diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-01-04 10:08:36 +0100 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2018-01-05 13:04:30 -0600 |
commit | f347c36701339d55de15e01a3d392c0c3cd289f5 (patch) | |
tree | 6efd5d00f27c36ecccd2c881ce9f437a15f8ac88 /drivers/of/of_numa.c | |
parent | 33314a1387009361e6cfcfaa772abe3b90d11321 (diff) | |
download | blackbird-op-linux-f347c36701339d55de15e01a3d392c0c3cd289f5.tar.gz blackbird-op-linux-f347c36701339d55de15e01a3d392c0c3cd289f5.zip |
of/fdt: Fix #ifdef dependency of early flattree declarations
If OF_FLATTREE=y, but OF_EARLY_FLATTREE=n:
drivers/tty/serial/earlycon.o: In function `param_setup_earlycon':
earlycon.c:(.init.text+0x3a4): undefined reference to `early_init_dt_scan_chosen_stdout'
Fix this by moving the early flattree forward declarations and dummy
implementations inside an #ifdef CONFIG_OF_EARLY_FLATTREE block.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of/of_numa.c')
0 files changed, 0 insertions, 0 deletions