From: Hans de Goede Date: Sat, 22 Feb 2014 15:53:37 +0000 (+0100) Subject: ahci-imx: Port to library-ised ahci_platform X-Git-Tag: v3.15-rc1~161^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90870d79d4f28711610dd2e72d8fa616c922d110;p=pandora-kernel.git ahci-imx: Port to library-ised ahci_platform This avoids the ugliness of creating a nested platform device from probe. While moving it around anyways, move the mk6q phy init code from probe to imx_sata_enable, as the phy needs to be re-initialized on resume too, otherwise the drive won't be recognized after resume. Tested on a wandboard i.mx6 quad. Signed-off-by: Hans de Goede Signed-off-by: Tejun Heo --- Reading git-diff-tree failed