From: Shawn Guo Date: Thu, 17 Feb 2011 06:28:50 +0000 (+0800) Subject: ARM: mx23: dynamically allocate mx23 auart device X-Git-Tag: v2.6.39-rc1~434^2~5^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edca314f27c984f353a5129253d8d5241b82c517;p=pandora-kernel.git ARM: mx23: dynamically allocate mx23 auart device i.MX23 Reference Manaul starts auart index from 1 than 0. Changing the index to start from 0 requires corresponding changes on base address, irq, and iomux definitions, and will probably confuse people who reads codes and hardware documents together. This patch introduced the field 'hwid' to distinguish the driver id and controller id. These two ids are different on mx23 while identical on mx28. Signed-off-by: Shawn Guo Signed-off-by: Sascha Hauer --- Reading git-diff-tree failed