linux/drivers/pci/endpoint
Geert Uytterhoeven c849e55178 PCI: endpoint: Make PCI_ENDPOINT depend on HAS_DMA
If NO_DMA=y:

    drivers/built-in.o: In function `__pci_epc_create':
    (.text+0xef4e): undefined reference to `bad_dma_ops'
    drivers/built-in.o: In function `pci_epc_add_epf':
    (.text+0xf676): undefined reference to `bad_dma_ops'
    drivers/built-in.o: In function `pci_epf_alloc_space':
    (.text+0xfa32): undefined reference to `bad_dma_ops'
    drivers/built-in.o: In function `pci_epf_free_space':
    (.text+0xfac4): undefined reference to `bad_dma_ops'

Add a dependency on HAS_DMA to fix this.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2017-05-22 16:23:59 -05:00
..
functions PCI: endpoint: functions: Add an EP function to test PCI 2017-04-11 14:18:37 -05:00
Kconfig PCI: endpoint: Make PCI_ENDPOINT depend on HAS_DMA 2017-05-22 16:23:59 -05:00
Makefile PCI: endpoint: functions: Add an EP function to test PCI 2017-04-11 14:18:37 -05:00
pci-ep-cfs.c
pci-epc-core.c PCI: endpoint: Create configfs entry for EPC device and EPF driver 2017-04-11 14:18:37 -05:00
pci-epc-mem.c
pci-epf-core.c PCI: endpoint: Create configfs entry for EPC device and EPF driver 2017-04-11 14:18:37 -05:00