Commit ab9c13a4 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Helge Deller
Browse files

parisc/parport_gsc: switch from 'pci_' to 'dma_' API



The wrappers in include/linux/pci-dma-compat.h should go away.

Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 6ef4661c
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -390,9 +390,8 @@ static void __exit parport_remove_chip(struct parisc_device *dev)
		if (p->irq != PARPORT_IRQ_NONE)
			free_irq(p->irq, p);
		if (priv->dma_buf)
			pci_free_consistent(priv->dev, PAGE_SIZE,
					    priv->dma_buf,
					    priv->dma_handle);
			dma_free_coherent(&priv->dev->dev, PAGE_SIZE,
					  priv->dma_buf, priv->dma_handle);
		kfree (p->private_data);
		parport_put_port(p);
		kfree (ops); /* hope no-one cached it */