Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b58ddf17 authored by Niklas Cassel's avatar Niklas Cassel Committed by Bjorn Helgaas
Browse files

PCI: artpec6: Drop __init from artpec6_add_pcie_port()



artpec6_add_pcie_port() is called from artpec6_pcie_probe(), which is not
marked __init.  It is wrong to call an __init function from a non-__init
one, so remove __init from artpec6_add_pcie_port().

[bhelgaas: changelog]
Signed-off-by: default avatarNiklas Cassel <niklas.cassel@axis.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 29b4817d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -191,7 +191,7 @@ static irqreturn_t artpec6_pcie_msi_handler(int irq, void *arg)
	return dw_handle_msi_irq(pp);
}

static int __init artpec6_add_pcie_port(struct pcie_port *pp,
static int artpec6_add_pcie_port(struct pcie_port *pp,
				 struct platform_device *pdev)
{
	int ret;