PCI: spear: Add __init annotation to spear13xx_add_pcie_port()
authorJingoo Han <jg1.han@samsung.com>
Thu, 6 Nov 2014 05:38:18 +0000 (14:38 +0900)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 13 Nov 2014 16:46:47 +0000 (09:46 -0700)
commit992e7bd2be1817d6327febebcfff7ab836a3306c
tree3b3bb33d055d0830f253ed1ddcf8aebadba78b6b
parenta9875d83a0ae57a18f9c9f70c2ac524b81cc2cbe
PCI: spear: Add __init annotation to spear13xx_add_pcie_port()

Add __init annotation to spear13xx_add_pcie_port(), because
spear13xx_add_pcie_port() is called only by spear13xx_pcie_probe(), which
is marked __init.  This fixes a section mismatch warning:

WARNING: drivers/pci/host/built-in.o(.text.unlikely+0x94): Section mismatch in reference from the function spear13xx_add_pcie_port() to the function .init.text:dw_pcie_host_init()

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/pci/host/pcie-spear13xx.c
This page took 0.024407 seconds and 5 git commands to generate.