PCI: imx6: Fix imx6_add_pcie_port() section mismatch warning
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 30 May 2014 06:38:48 +0000 (12:08 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 30 May 2014 15:45:58 +0000 (09:45 -0600)
commit44cb5e94f96cef72a977fc5fdea8095bc0ae25ba
tree100e210d4b33f62dafbfdd4c5c8ffe499efd6fc8
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5
PCI: imx6: Fix imx6_add_pcie_port() section mismatch warning

imx6_add_pcie_port() is called only from from imx6_pcie_probe() which is
annotated with __init.  Thus it makes sense to annotate
imx6_add_pcie_port() with __init to avoid section mismatch warnings.

[bhelgaas: changelog]
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Sean Cross <xobs@kosagi.com>
drivers/pci/host/pci-imx6.c