From: Thomas Abraham Date: Tue, 14 Jun 2011 10:12:26 +0000 (+0900) Subject: serial: samsung: Fix unintended usage of uart port 0 as console X-Git-Tag: v3.1-rc1~149^2^2~9^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee430f16251de889ddf8e303970713d9fba9a3f5;p=pandora-kernel.git serial: samsung: Fix unintended usage of uart port 0 as console In s3c24xx_serial_console_setup function, if the uart port that is being setup as a console has not been initialized, an error can be returned instead of using uart port 0 as the default console port. The uart port that was intended to be used as a console could be initialized at a later point during boot and then registered as a console. This will avoid using uart port 0 as a unintended console port. Signed-off-by: Thomas Abraham Signed-off-by: Kukjin Kim --- Reading git-diff-tree failed