From: Michal Simek Date: Sat, 5 Apr 2014 00:23:38 +0000 (-0700) Subject: tty: xuartps: Initialize ports according to aliases X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~35^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=928e9263492069eeebb4c867b841508837895e0e;p=pandora-kernel.git tty: xuartps: Initialize ports according to aliases Register port numbers according to order in DT aliases. If aliases are not defined, order in DT is used. If aliases are defined, register port id based on that. This patch ensures proper ttyPS0/1 assignment. [soren]: Combined integer declarations in probe(), removed warning message if no alias is found. Signed-off-by: Michal Simek Signed-off-by: Soren Brinkmann Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed