Skip to contentSkip to conversation

pata_pcmcia: Switch to ata_sff_port_start

PATCH Applied Alan Cox 2 participants 2 messages Jul 3, 2007 libata

lore
Share & tools
lore

Alan Cox

author
#0 lore raw

PATCH 1/1 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

drivers/ata/pata_pcmcia.c +1 -1
diff -u --new-file --exclude-from /usr/src/exclude --recursive linux.vanilla-2.6.22-rc6-mm1/drivers/ata/pata_pcmcia.c linux-2.6.22-rc6-mm1/drivers/ata/pata_pcmcia.c
@@ -129,7 +129,7 @@
 	.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) \
Applied
#1 lore raw
Quoted 5 lines · Alan Cox

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

applied