]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
frv/PCI: Remove stray pci_{alloc,free}_consistent() declaration
authorChristoph Hellwig <hch@lst.de>
Sun, 6 Mar 2016 15:17:53 +0000 (16:17 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 7 Mar 2016 16:36:20 +0000 (10:36 -0600)
FRV doesn't implement pci_{alloc,free}_consistent(), so remove the
declarations for them.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: David Howells <dhowells@redhat.com>
arch/frv/include/asm/pci.h

index e43d22c58ad52cc74d116291eef632508700460e..7e96b572f72887bf41b9ade4b92fc64e6980baee 100644 (file)
@@ -32,12 +32,6 @@ extern void consistent_sync_page(struct page *page, unsigned long offset,
                                 size_t size, int direction);
 #endif
 
-extern void *pci_alloc_consistent(struct pci_dev *hwdev, size_t size,
-                                 dma_addr_t *dma_handle);
-
-extern void pci_free_consistent(struct pci_dev *hwdev, size_t size,
-                               void *vaddr, dma_addr_t dma_handle);
-
 /* Return the index of the PCI controller for device PDEV. */
 #define pci_controller_num(PDEV)       (0)