diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-11-06 06:37:39 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-11-13 17:49:15 +0100 |
commit | e73044a069c40b8c49c75f1869a07bd912801494 (patch) | |
tree | 2b67dc3a89cf331c4b38d03556baf0b62e99681a /drivers/pci/pci.c | |
parent | PCI: dra7xx: Rename add_pcie_port() to dra7xx_add_pcie_port() (diff) | |
download | linux-e73044a069c40b8c49c75f1869a07bd912801494.tar.xz linux-e73044a069c40b8c49c75f1869a07bd912801494.zip |
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>
Diffstat (limited to 'drivers/pci/pci.c')
0 files changed, 0 insertions, 0 deletions