Skip to content

Commit

Permalink
pata_pcmcia: Switch to ata_sff_port_start
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alan Cox authored and Jeff Garzik committed Jul 3, 2007
1 parent a0ac38f commit 872aad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ata/pata_pcmcia.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down

0 comments on commit 872aad4

Please sign in to comment.