PCI: create common pcibios_err_to_errno
authorAlex Williamson <alex.williamson@redhat.com>
Mon, 11 Jun 2012 05:27:33 +0000 (05:27 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 12 Jun 2012 15:21:42 +0000 (09:21 -0600)
commita6961651408afa9387d6df43c4a1dc4fd35dcb1b
tree3ee93b9316123567ebfc65804cb8cc1be95be1e2
parentc63587d7f5b9db84e71daf5962dc0394eb657da2
PCI: create common pcibios_err_to_errno

For returning errors out to non-PCI code.  Re-name xen's version.

Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/xen/xen-pciback/conf_space.c
include/linux/pci.h