pata_pcmcia: Switch to ata_sff_port_start
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Tue, 3 Jul 2007 14:14:05 +0000 (15:14 +0100)
committerJeff Garzik <jeff@garzik.org>
Tue, 3 Jul 2007 15:31:06 +0000 (11:31 -0400)
PCMCIA doesn't use DMA and as this driver is used on many platforms we
don't want it to fail on those that define the DMA alloc API as a NULL
return

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_pcmcia.c

index 4d44c75..a56257c 100644 (file)
@@ -129,7 +129,7 @@ static struct ata_port_operations pcmcia_port_ops = {
        .irq_on         = ata_irq_on,
        .irq_ack        = ata_irq_ack,
 
-       .port_start     = ata_port_start,
+       .port_start     = ata_sff_port_start,
 };
 
 #define CS_CHECK(fn, ret) \