mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 06:12:08 +00:00
parisc/parport_gsc: switch from 'pci_' to 'dma_' API
The wrappers in include/linux/pci-dma-compat.h should go away. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
6ef4661cad
commit
ab9c13a4b5
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user