PCI: dra7xx: Add __init annotation to dra7xx_add_pcie_port()
authorJingoo Han <jg1.han@samsung.com>
Thu, 6 Nov 2014 05:37:39 +0000 (14:37 +0900)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 13 Nov 2014 16:49:15 +0000 (09:49 -0700)
commite73044a069c40b8c49c75f1869a07bd912801494
tree2b67dc3a89cf331c4b38d03556baf0b62e99681a
parent23926c8dbd6fdca3da884fa6c2daa0d6a3cbddec
PCI: dra7xx: Add __init annotation to dra7xx_add_pcie_port()

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

WARNING: drivers/pci/host/built-in.o(.text.unlikely+0xcc): Section mismatch in reference from the function dra7xx_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>
drivers/pci/host/pci-dra7xx.c