From 16c33b1595441fe106f8efd370fb584ed8d21bde Mon Sep 17 00:00:00 2001 From: Bjorn Helgaas Date: Fri, 8 Jun 2018 08:40:10 -0500 Subject: [PATCH] PCI/AER: Remove duplicate pcie_port_bus_type declaration 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 Reviewed-by: Keith Busch --- 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 7fa902b..f4fc711 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 -- 2.7.4