summaryrefslogtreecommitdiffstats
path: root/arch/arc
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2015-02-03 20:08:52 -0500
committerVineet Gupta <vgupta@synopsys.com>2015-02-04 10:38:15 +0530
commit091f56be10efe8ac7c09d6368d885f41fa7eb809 (patch)
tree3605b18290efb05626375f9b2d3ece37bf0cf6b0 /arch/arc
parentffb7fcd66f14bc716b9fdf559e71909131fef39b (diff)
downloadop-kernel-dev-091f56be10efe8ac7c09d6368d885f41fa7eb809.zip
op-kernel-dev-091f56be10efe8ac7c09d6368d885f41fa7eb809.tar.gz
ARC: Fix earlycon build breakage
Commit ffb7fcd66f14 ("ARC: Dynamically determine BASE_BAUD from DeviceTree") breaks arc:defconfig build: drivers/built-in.o: In function `of_setup_earlycon': (.init.text+0xb3e): undefined reference to `arc_early_base_baud' drivers/built-in.o: In function `setup_earlycon': (.init.text+0xcd0): undefined reference to `arc_early_base_baud' make: *** [vmlinux] Error 1 BASE_BAUD is only required for earlycon, which should depend on CONFIG_SERIAL_EARLYCON. Reported-by: Guenter Roeck <linux@roeck-us.net> Tested-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc')
-rw-r--r--arch/arc/kernel/devtree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/kernel/devtree.c b/arch/arc/kernel/devtree.c
index 5036d4c..e32b54a 100644
--- a/arch/arc/kernel/devtree.c
+++ b/arch/arc/kernel/devtree.c
@@ -17,7 +17,7 @@
#include <asm/clk.h>
#include <asm/mach_desc.h>
-#ifdef CONFIG_SERIAL_8250_CONSOLE
+#ifdef CONFIG_SERIAL_EARLYCON
static unsigned int __initdata arc_base_baud;
OpenPOWER on IntegriCloud