diff options
author | 2017-09-29 12:46:13 -0700 | |
---|---|---|
committer | 2017-09-29 12:46:13 -0700 | |
commit | 93b5533ab58d635968ebb0939fe90f3b022601af (patch) | |
tree | 5e2d06daa8300bf2f10ede5ad1b02b6de0e991e0 /include/linux | |
parent | Merge tag 'drm-fixes-for-v4.14-rc3' of git://people.freedesktop.org/~airlied/... (diff) | |
parent | PCI: Fix race condition with driver_override (diff) | |
download | linux-93b5533ab58d635968ebb0939fe90f3b022601af.tar.gz linux-93b5533ab58d635968ebb0939fe90f3b022601af.tar.bz2 linux-93b5533ab58d635968ebb0939fe90f3b022601af.zip |
Merge tag 'pci-v4.14-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
Pull PCI fixes from Bjorn Helgaas:
- fix CONFIG_PCI=n build error (introduced in v4.14-rc1) (Geert
Uytterhoeven)
- fix a race in sysfs driver_override store/show (Nicolai Stange)
* tag 'pci-v4.14-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
PCI: Fix race condition with driver_override
PCI: Add dummy pci_acs_enabled() for CONFIG_PCI=n build
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/pci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index f68c58a93dd0..f4f8ee5a7362 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -1685,6 +1685,8 @@ static inline int pci_get_new_domain_nr(void) { return -ENOSYS; } #define dev_is_pci(d) (false) #define dev_is_pf(d) (false) +static inline bool pci_acs_enabled(struct pci_dev *pdev, u16 acs_flags) +{ return false; } #endif /* CONFIG_PCI */ /* Include architecture-dependent settings and functions */ |