]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: export pci_restore_msi_state()
authorLinas Vepstas <linas@austin.ibm.com>
Wed, 7 Nov 2007 21:43:59 +0000 (15:43 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 23:04:22 +0000 (15:04 -0800)
commit469c98e80d79447b15ac439e2d9ef0434ba23a03
treeac170991ef1db1127d59a0d7231a8cbb53b5474c
parent30501c2b07e671de805421023647979c94cdfff2
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>
drivers/pci/msi.c
drivers/pci/pci.h
include/linux/pci.h