]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: artpec6: Drop __init from artpec6_add_pcie_port()
authorNiklas Cassel <niklas.cassel@axis.com>
Fri, 9 Sep 2016 07:45:30 +0000 (09:45 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 14 Sep 2016 21:20:47 +0000 (16:20 -0500)
commit9c1010ac51378e047a6ab5733c5383d651eb0dc1
treea27dfcbc910a421d104a6d960ec29d6bb70beca5
parentb482605f7939bd4035b2d11a7952dc3da5821c6d
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: Niklas Cassel <niklas.cassel@axis.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pcie-artpec6.c