aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/pci.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 3aba02a04792..99d45751830c 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -744,6 +744,9 @@ static inline int pci_set_power_state(struct pci_dev *dev, pci_power_t state) {
744static inline pci_power_t pci_choose_state(struct pci_dev *dev, pm_message_t state) { return PCI_D0; } 744static inline pci_power_t pci_choose_state(struct pci_dev *dev, pm_message_t state) { return PCI_D0; }
745static inline int pci_enable_wake(struct pci_dev *dev, pci_power_t state, int enable) { return 0; } 745static inline int pci_enable_wake(struct pci_dev *dev, pci_power_t state, int enable) { return 0; }
746 746
747static inline int pci_request_regions(struct pci_dev *dev, const char *res_name) { return -EIO; }
748static inline void pci_release_regions(struct pci_dev *dev) { }
749
747#define pci_dma_burst_advice(pdev, strat, strategy_parameter) do { } while (0) 750#define pci_dma_burst_advice(pdev, strat, strategy_parameter) do { } while (0)
748 751
749static inline void pci_block_user_cfg_access(struct pci_dev *dev) { } 752static inline void pci_block_user_cfg_access(struct pci_dev *dev) { }