PCI/AER: Remove duplicate pcie_port_bus_type declaration
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 8 Jun 2018 13:40:10 +0000 (08:40 -0500)
committerBjorn Helgaas <helgaas@kernel.org>
Mon, 11 Jun 2018 13:11:05 +0000 (08:11 -0500)
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@google.com>
Reviewed-by: Keith Busch <keith.busch@intel.com>
drivers/pci/pcie/aer/aerdrv.h

index 7fa902b1f7c10db9e2660d69c21fa5011fa9b896..f4fc71119cf2d1fe28a2114058160e06d6428ab3 100644 (file)
@@ -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