Skip to content

Commit

Permalink
PCI: Remove usage of the deprecated "pci-dma-compat.h" API
Browse files Browse the repository at this point in the history
Final step, remove pci-dma-compat.h

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
  • Loading branch information
tititiou36 authored and intel-lab-lkp committed Jan 6, 2022
1 parent 6c57d49 commit 24f5ae5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 132 deletions.
129 changes: 0 additions & 129 deletions include/linux/pci-dma-compat.h

This file was deleted.

3 changes: 0 additions & 3 deletions include/linux/pci.h
Expand Up @@ -2444,9 +2444,6 @@ static inline bool pci_is_thunderbolt_attached(struct pci_dev *pdev)
void pci_uevent_ers(struct pci_dev *pdev, enum pci_ers_result err_type);
#endif

/* Provide the legacy pci_dma_* API */
#include <linux/pci-dma-compat.h>

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

Expand Down

0 comments on commit 24f5ae5

Please sign in to comment.