From: Laurentiu Tudor Date: Wed, 27 Aug 2014 14:09:39 +0000 (+0300) Subject: of: make sure of_alias is initialized before accessing it X-Git-Tag: fixes-for-v3.18-merge-window~70^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7dbe5849fb50;p=pandora-kernel.git of: make sure of_alias is initialized before accessing it Simply swap of_alias and of_chosen initialization so that of_alias ends up read first. This must be done because it is accessed couple of lines below when trying to initialize the of_stdout using the alias based legacy method. [Fixes a752ee5 - tty: Update hypervisor tty drivers to use core stdout parsing code] Signed-off-by: Laurentiu Tudor [glikely: Don't move the 'if (!of_aliases)' test] Signed-off-by: Grant Likely --- Reading git-diff-tree failed