summary refs log tree commit diff
path: root/drivers/ata/pata_pcmcia.c
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2007-07-03 15:14:05 +0100
committerJeff Garzik <jeff@garzik.org>2007-07-03 11:31:06 -0400
commit872aad45d6174570dd2e1defc3efee50f2cfcc72 (patch)
tree9a23266d5749841fbec4df6a3f3cc8ff8c027c56 /drivers/ata/pata_pcmcia.c
parenta0ac38f16045f90dbbcd265b638cd7254c53aa65 (diff)
downloadlinux-872aad45d6174570dd2e1defc3efee50f2cfcc72.tar.gz
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>
Diffstat (limited to 'drivers/ata/pata_pcmcia.c')
-rw-r--r--drivers/ata/pata_pcmcia.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_pcmcia.c b/drivers/ata/pata_pcmcia.c
index 4d44c7555db1..a56257c98fe5 100644
--- a/drivers/ata/pata_pcmcia.c
+++ b/drivers/ata/pata_pcmcia.c
@@ -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) \