PCI: Expose pci_load_saved_state for public consumption.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 3 Dec 2014 21:40:31 +0000 (16:40 -0500)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 4 Dec 2014 12:42:02 +0000 (12:42 +0000)
commit98d9b271250bd83337e3ed66d63e7deefcda8712
tree208caefbbe827541e86be74d844ad89b0066364e
parentc1a04339e55d808d328d28e3526df31e80b55383
PCI: Expose pci_load_saved_state for public consumption.

We have the pci_load_and_free_saved_state, and pci_store_saved_state
but are missing the functionality to just load the state
multiple times in the PCI device without having to free/save
the state.

This patch makes it possible to use this function.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
drivers/pci/pci.c
include/linux/pci.h