diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2016-02-24 13:43:45 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-04-11 14:08:06 -0500 |
commit | f0af9593372abfde34460aa1250e670cc535a7d8 (patch) | |
tree | 4f4914feebc665fd48149052ba07a8c50bc69791 /include/linux/pci.h | |
parent | 9735a22799b9214d17d3c231fe377fc852f042e9 (diff) |
PCI: Add pci_add_dma_alias() to abstract implementation
Add a pci_add_dma_alias() interface to encapsulate the details of adding an
alias. No functional change intended.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 004b8133417d..7e7019064437 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -1988,6 +1988,7 @@ static inline struct eeh_dev *pci_dev_to_eeh_dev(struct pci_dev *pdev) } #endif +void pci_add_dma_alias(struct pci_dev *dev, u8 devfn); int pci_for_each_dma_alias(struct pci_dev *pdev, int (*fn)(struct pci_dev *pdev, u16 alias, void *data), void *data); |