diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2007-07-03 10:14:05 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-03 11:31:06 -0400 |
commit | 872aad45d6174570dd2e1defc3efee50f2cfcc72 (patch) | |
tree | 9a23266d5749841fbec4df6a3f3cc8ff8c027c56 /drivers/ata/pata_pcmcia.c | |
parent | a0ac38f16045f90dbbcd265b638cd7254c53aa65 (diff) |
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.c | 2 |
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 = { | |||
129 | .irq_on = ata_irq_on, | 129 | .irq_on = ata_irq_on, |
130 | .irq_ack = ata_irq_ack, | 130 | .irq_ack = ata_irq_ack, |
131 | 131 | ||
132 | .port_start = ata_port_start, | 132 | .port_start = ata_sff_port_start, |
133 | }; | 133 | }; |
134 | 134 | ||
135 | #define CS_CHECK(fn, ret) \ | 135 | #define CS_CHECK(fn, ret) \ |