]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: use pci_find_ext_capability everywhere
authorJesse Barnes <jbarnes@virtuousgeek.org>
Sun, 19 Oct 2008 00:33:19 +0000 (17:33 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 20 Oct 2008 18:01:51 +0000 (11:01 -0700)
commitdbd7c21645e4643abfc73402a65452b143e55fc0
tree480bec05ca6b31329eac8533243e1295749d3e46
parenta5a62d06d24ba275177a9abd6ea83a382af7b240
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>
drivers/pci/pcie/aer/aerdrv.c
drivers/pci/pcie/aer/aerdrv_core.c
drivers/pci/pcie/portdrv_core.c
drivers/scsi/qla2xxx/qla_os.c
include/linux/aer.h