From: Christoph Hellwig Date: Sun, 6 Mar 2016 15:17:53 +0000 (+0100) Subject: frv/PCI: Remove stray pci_{alloc,free}_consistent() declaration X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=611609bcf778a5f1aa321e632ac6dae50d507096;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git frv/PCI: Remove stray pci_{alloc,free}_consistent() declaration FRV doesn't implement pci_{alloc,free}_consistent(), so remove the declarations for them. Signed-off-by: Christoph Hellwig Signed-off-by: Bjorn Helgaas Acked-by: David S. Miller Acked-by: David Howells --- diff --git a/arch/frv/include/asm/pci.h b/arch/frv/include/asm/pci.h index e43d22c58ad5..7e96b572f728 100644 --- a/arch/frv/include/asm/pci.h +++ b/arch/frv/include/asm/pci.h @@ -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)