diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2007-07-03 15:14:05 +0100 |
---|---|---|
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) | |
download | linux-3.10-872aad45d6174570dd2e1defc3efee50f2cfcc72.tar.gz linux-3.10-872aad45d6174570dd2e1defc3efee50f2cfcc72.tar.bz2 linux-3.10-872aad45d6174570dd2e1defc3efee50f2cfcc72.zip |
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 4d44c7555db..a56257c98fe 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) \ |