Re: [PATCH 1/1] PCI: exynos: Fix section mismatch warning

2014-05-29 Thread Bjorn Helgaas
On Wed, May 28, 2014 at 03:18:45PM +0530, Sachin Kamat wrote: > add_pcie_port is called from probe which is annotated with __init. > add_pcie_port calls dw_pcie_host_init which is also annotated with > __init. Thus it makes sense to annotate add_pcie_port with __init > to avoid the following sectio

Re: [PATCH 1/1] PCI: exynos: Fix section mismatch warning

2014-05-28 Thread Jingoo Han
On Wednesday, May 28, 2014 6:49 PM, Sachin Kamat wrote: > > add_pcie_port is called from probe which is annotated with __init. > add_pcie_port calls dw_pcie_host_init which is also annotated with > __init. Thus it makes sense to annotate add_pcie_port with __init > to avoid the following section m

[PATCH 1/1] PCI: exynos: Fix section mismatch warning

2014-05-28 Thread Sachin Kamat
add_pcie_port is called from probe which is annotated with __init. add_pcie_port calls dw_pcie_host_init which is also annotated with __init. Thus it makes sense to annotate add_pcie_port with __init to avoid the following section mismatch warning: WARNING: drivers/pci/built-in.o(.text.unlikely+0x