]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ahci_platform: Drop support for ahci-strict platform device type
authorHans de Goede <hdegoede@redhat.com>
Sat, 22 Feb 2014 16:22:53 +0000 (17:22 +0100)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:17:18 +0000 (21:17 -0600)
I've done a grep over the entire kernel tree and nothing is using this
(anymore?).

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
(cherry picked from commit f1df8641e27b7edb978bdc7aaf50c235bc9e8be9)

drivers/ata/ahci_platform.c

index d58f1b5223d6ef160facc4ad1643d23981b9ee07..566b4f1af750611cf195214680a97e3fb28209e7 100644 (file)
@@ -32,7 +32,6 @@ static void ahci_host_stop(struct ata_host *host);
 enum ahci_type {
        AHCI,           /* standard platform ahci */
        IMX53_AHCI,     /* ahci on i.mx53 */
-       STRICT_AHCI,    /* delayed DMA engine start */
 };
 
 static struct platform_device_id ahci_devtype[] = {
@@ -42,9 +41,6 @@ static struct platform_device_id ahci_devtype[] = {
        }, {
                .name = "imx53-ahci",
                .driver_data = IMX53_AHCI,
-       }, {
-               .name = "strict-ahci",
-               .driver_data = STRICT_AHCI,
        }, {
                /* sentinel */
        }
@@ -76,13 +72,6 @@ static const struct ata_port_info ahci_port_info[] = {
                .udma_mask      = ATA_UDMA6,
                .port_ops       = &ahci_platform_retry_srst_ops,
        },
-       [STRICT_AHCI] = {
-               AHCI_HFLAGS     (AHCI_HFLAG_DELAY_ENGINE),
-               .flags          = AHCI_FLAG_COMMON,
-               .pio_mask       = ATA_PIO4,
-               .udma_mask      = ATA_UDMA6,
-               .port_ops       = &ahci_platform_ops,
-       },
 };
 
 static struct scsi_host_template ahci_platform_sht = {