diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-10-18 20:33:19 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-10-20 14:01:51 -0400 |
commit | 0927678f55c9a50c296f7e6dae85e87b8236e155 (patch) | |
tree | 480bec05ca6b31329eac8533243e1295749d3e46 /include/linux/aer.h | |
parent | 1543c90c39360df333a21bfbbdfe812ae23b8167 (diff) |
PCI: use pci_find_ext_capability everywhere
Remove some open coded (and buggy) versions of pci_find_ext_capability
in favor of the real routine in the PCI core.
Tested-by: Tomasz Czernecki <czernecki@gmail.com>
Acked-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Reviewed-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include/linux/aer.h')
-rw-r--r-- | include/linux/aer.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/aer.h b/include/linux/aer.h index f2518141de88..a2383a72356a 100644 --- a/include/linux/aer.h +++ b/include/linux/aer.h | |||
@@ -18,10 +18,6 @@ static inline int pci_enable_pcie_error_reporting(struct pci_dev *dev) | |||
18 | { | 18 | { |
19 | return -EINVAL; | 19 | return -EINVAL; |
20 | } | 20 | } |
21 | static inline int pci_find_aer_capability(struct pci_dev *dev) | ||
22 | { | ||
23 | return 0; | ||
24 | } | ||
25 | static inline int pci_disable_pcie_error_reporting(struct pci_dev *dev) | 21 | static inline int pci_disable_pcie_error_reporting(struct pci_dev *dev) |
26 | { | 22 | { |
27 | return -EINVAL; | 23 | return -EINVAL; |