PCI: remove unused AER functions
In the commit 28eb5f2
, aer_osc_setup is removed but corresponding
definiton information in the aerdrv.h is missed.
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Chen Gong <gong.chen@linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
This commit is contained in:
parent
dc2c2c9dd5
commit
cbfddd2093
|
@ -114,15 +114,6 @@ extern void aer_print_error(struct pci_dev *dev, struct aer_err_info *info);
|
||||||
extern void aer_print_port_info(struct pci_dev *dev, struct aer_err_info *info);
|
extern void aer_print_port_info(struct pci_dev *dev, struct aer_err_info *info);
|
||||||
extern irqreturn_t aer_irq(int irq, void *context);
|
extern irqreturn_t aer_irq(int irq, void *context);
|
||||||
|
|
||||||
#ifdef CONFIG_ACPI
|
|
||||||
extern int aer_osc_setup(struct pcie_device *pciedev);
|
|
||||||
#else
|
|
||||||
static inline int aer_osc_setup(struct pcie_device *pciedev)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef CONFIG_ACPI_APEI
|
#ifdef CONFIG_ACPI_APEI
|
||||||
extern int pcie_aer_get_firmware_first(struct pci_dev *pci_dev);
|
extern int pcie_aer_get_firmware_first(struct pci_dev *pci_dev);
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue