From: Alan Cox Date: Tue, 3 Jul 2007 14:14:05 +0000 (+0100) Subject: pata_pcmcia: Switch to ata_sff_port_start X-Git-Tag: v2.6.22~37 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=872aad45d6174570dd2e1defc3efee50f2cfcc72;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Jeff Garzik --- 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) \