From: Jingoo Han Date: Thu, 6 Nov 2014 05:38:18 +0000 (+0900) Subject: PCI: spear: Add __init annotation to spear13xx_add_pcie_port() X-Git-Tag: omap-for-v3.19/fixes-rc1~137^2~2^11~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=992e7bd2be1817d6327febebcfff7ab836a3306c;p=pandora-kernel.git 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 Signed-off-by: Bjorn Helgaas Acked-by: Viresh Kumar --- Reading git-diff-tree failed