Skip to content

Commit 7968778

Browse files
tititiou36Christoph Hellwig
authored andcommitted
PCI: Remove the deprecated "pci-dma-compat.h" API
Now that all usages of the functions defined in "pci-dma-compat.h" have been removed, it is time to remove this file as well. In order not to break builds, move the "#include <linux/dma-mapping.h>" that was in "pci-dma-compat.h" into "include/linux/pci.h" Signed-off-by: Christophe JAILLET <[email protected]> Acked-by: Bjorn Helgaas <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
1 parent 5efabda commit 7968778

File tree

2 files changed

+1
-131
lines changed

2 files changed

+1
-131
lines changed

include/linux/pci-dma-compat.h

Lines changed: 0 additions & 129 deletions
This file was deleted.

include/linux/pci.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2473,8 +2473,7 @@ static inline bool pci_is_thunderbolt_attached(struct pci_dev *pdev)
24732473
void pci_uevent_ers(struct pci_dev *pdev, enum pci_ers_result err_type);
24742474
#endif
24752475

2476-
/* Provide the legacy pci_dma_* API */
2477-
#include <linux/pci-dma-compat.h>
2476+
#include <linux/dma-mapping.h>
24782477

24792478
#define pci_printk(level, pdev, fmt, arg...) \
24802479
dev_printk(level, &(pdev)->dev, fmt, ##arg)

0 commit comments

Comments
 (0)