From: Arnd Bergmann Date: Tue, 19 May 2015 20:26:04 +0000 (+0200) Subject: serial: samsung: only use earlycon for console X-Git-Tag: omap-for-v4.2/wakeirq-drivers-v2^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=357d56151976a78d90dc3dfac01777de0ef05212;p=pandora-kernel.git serial: samsung: only use earlycon for console A configuration that enables earlycon but not the core console code causes a link error: drivers/built-in.o: In function `setup_earlycon': drivers/tty/serial/earlycon.c:70: undefined reference to `uart_parse_earlycon' That error can be triggered by the newly added samsung earlycon support, which is missing a 'select' statement. As suggested by Peter Hurley, solves the problem by moving the 'select SERIAL_EARLYCON' statement to the samsung console driver option, as it is done by all other console drivers. Signed-off-by: Arnd Bergmann Fixes: b94ba0328d3b3 ("serial: samsung: Add support for early console") Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed