[PATCH v1 07/13] PCI/AER: Remove duplicate pcie_port_bus_type declaration

From: Bjorn Helgaas
Date: Fri Jun 08 2018 - 16:05:38 EST


From: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>

pcie_port_bus_type is already declared in portdrv.h, so remove the
unnecessary duplicate declaration in aerdrv.h. No functional change
intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
---
drivers/pci/pcie/aer/aerdrv.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/pci/pcie/aer/aerdrv.h b/drivers/pci/pcie/aer/aerdrv.h
index 7fa902b1f7c1..f4fc71119cf2 100644
--- a/drivers/pci/pcie/aer/aerdrv.h
+++ b/drivers/pci/pcie/aer/aerdrv.h
@@ -76,7 +76,6 @@ struct aer_rpc {
*/
};

-extern struct bus_type pcie_port_bus_type;
irqreturn_t aer_irq(int irq, void *context);

#ifdef CONFIG_ACPI_APEI