PCI: PCIe AER: Introduce pci_aer_available()
authorRafael J. Wysocki <rjw@sisk.pl>
Fri, 20 Aug 2010 23:50:52 +0000 (01:50 +0200)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 24 Aug 2010 20:43:08 +0000 (13:43 -0700)
commitf1a7bfaf6bb9cb195577e674c0ab2fd0a55d9014
tree8150335e1d70d026704f39c28921615d5af9701e
parent23b90cfd7bcf8ae1c0711df1cae7dfec3c01aec8
PCI: PCIe AER: Introduce pci_aer_available()

Introduce a function allowing the caller to check whether to try to
enable PCIe AER.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci.h
drivers/pci/pcie/aer/aerdrv.c