]> Git Repo - linux.git/commitdiff
ARC: Fix earlycon build breakage
authorPeter Hurley <[email protected]>
Wed, 4 Feb 2015 01:08:52 +0000 (20:08 -0500)
committerVineet Gupta <[email protected]>
Wed, 4 Feb 2015 05:08:15 +0000 (10:38 +0530)
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 <[email protected]>
Tested-by: Guenter Roeck <[email protected]>
Signed-off-by: Peter Hurley <[email protected]>
Signed-off-by: Vineet Gupta <[email protected]>
arch/arc/kernel/devtree.c

index 5036d4c069960b2db2b00345436cd8affef315d7..e32b54abff51fdc6b16894ce466fd16d2063bd7f 100644 (file)
@@ -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;
 
This page took 0.045291 seconds and 4 git commands to generate.