From: Mark A. Greer Date: Wed, 18 Mar 2009 17:36:08 +0000 (-0500) Subject: davinci: Move serial platform_device into SoC-specific files X-Git-Tag: v2.6.31-rc1~344^2~25^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65e866a9741126c678e6dcd5d4fa8c9eca18e945;p=pandora-kernel.git davinci: Move serial platform_device into SoC-specific files Currently, there is one set of platform_device and platform_data structures for all DaVinci SoCs. The differences in the data between the various SoCs is handled by davinci_serial_init() by checking the SoC type. However, as new SoCs appear, this routine will become more & more cluttered. To clean up the routine and make it easier to add support for new SoCs, move the platform_device and platform_data structures into the SoC-specific code and use the SoC infrastructure to provide access to the data. In the process, fix a bug where the wrong irq is used for uart2 of the dm646x. Signed-off-by: Mark A. Greer Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed