pata_pcmcia: Switch to ata_sff_port_start

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>
This commit is contained in:
Alan Cox 2007-07-03 15:14:05 +01:00 committed by Jeff Garzik
parent a0ac38f160
commit 872aad45d6

View File

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