PCI: Add pci_wait_for_pending_transaction()
authorCasey Leedom <leedom@chelsio.com>
Tue, 6 Aug 2013 10:18:36 +0000 (15:48 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 12 Aug 2013 19:47:09 +0000 (13:47 -0600)
commit3775a209d38aa3a0c7ed89a7d0f529e0230f280e
treec3d6d6e76b2ddbfba682d613b131e7341afa396e
parent3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b
PCI: Add pci_wait_for_pending_transaction()

New routine to avoid duplication of code to wait for pending PCI
transactions to complete.

Signed-off-by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: Vipul Pandya <vipul@chelsio.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.c
include/linux/pci.h