mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 06:31:52 +00:00
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:
parent
a0ac38f160
commit
872aad45d6
@ -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) \
|
||||||
|
Loading…
Reference in New Issue
Block a user