]> err.no Git - linux-2.6/commitdiff
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 4d44c7555db14c033eda97485f4fa15c923af0ba..a56257c98fe55a036cb449a420b28fa5a69d4764 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) \