]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Mark pnv_pci_init_ioda2_phb() as __init
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 2 Jul 2013 18:20:03 +0000 (12:20 -0600)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 24 Jul 2013 04:42:27 +0000 (14:42 +1000)
commita720bdc8f746b9bf4606b99ee608c92475c74f14
tree3bca1773028070be993f014e9ee930e230d306f7
parent518ab8f02e360362012a9ed7eae77ac6b3e64610
powerpc/powernv: Mark pnv_pci_init_ioda2_phb() as __init

Mark pnv_pci_init_ioda2_phb() as __init.  It is called only from an
init function (pnv_pci_init()), and it calls an init function
(pnv_pci_init_ioda_phb()):

    pnv_pci_init                # init
      pnv_pci_init_ioda2_phb    # non-init
pnv_pci_init_ioda_phb   # init

This should fix a section mismatch warning.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/powernv/pci-ioda.c