commit | 94688cf2454986309fbcd495233ba2423786a14a | [log] [tgz] |
---|---|---|
author | Linas Vepstas <linas@austin.ibm.com> | Wed Nov 07 15:43:59 2007 -0600 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Feb 01 15:04:22 2008 -0800 |
tree | ac170991ef1db1127d59a0d7231a8cbb53b5474c | |
parent | 1b7c9fcaa147662628078c83ecaf1ef2c5c9c9d0 [diff] |
PCI: export pci_restore_msi_state() PCI error recovery usually involves the PCI adapter being reset. If the device is using MSI, the reset will cause the MSI state to be lost; the device driver needs to restore the MSI state. The pci_restore_msi_state() routine is currently protected by CONFIG_PM; remove this, and also export the symbol, so that it can be used in a modle. Signed-off-by: Linas Vepstas <linas@austin.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>