Re: [PATCH] PCI: hisi: fix deferred probing

2015-11-24 Thread Bjorn Helgaas
On Thu, Nov 12, 2015 at 01:21:37PM +0100, Arnd Bergmann wrote: > The hisi_pcie_probe function is incorrectly marked as __init, as Kconfig > tells us: > > WARNING: drivers/pci/host/built-in.o(.data+0x7780): Section mismatch in > reference from the variable hisi_pcie_driver to the function > .init

Re: [PATCH] PCI: hisi: fix deferred probing

2015-11-16 Thread Hanjun Guo
On 11/13/2015 03:29 PM, Zhou Wang wrote: On 2015/11/12 20:21, Arnd Bergmann wrote: The hisi_pcie_probe function is incorrectly marked as __init, as Kconfig tells us: WARNING: drivers/pci/host/built-in.o(.data+0x7780): Section mismatch in reference from the variable hisi_pcie_driver to the func

Re: [PATCH] PCI: hisi: fix deferred probing

2015-11-12 Thread Zhou Wang
On 2015/11/12 20:21, Arnd Bergmann wrote: > The hisi_pcie_probe function is incorrectly marked as __init, as Kconfig > tells us: > > WARNING: drivers/pci/host/built-in.o(.data+0x7780): Section mismatch in > reference from the variable hisi_pcie_driver to the function > .init.text:hisi_pcie_probe

RE: [PATCH] PCI: hisi: fix deferred probing

2015-11-12 Thread Gabriele Paoloni
g > Cc: Jisheng Zhang; Wangzhou (B); bhelg...@google.com; linux- > p...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: [PATCH] PCI: hisi: fix deferred probing > > The hisi_pcie_probe function is incorrectly marked as __init, as Kconfig > tells us: > > WARNING: d

[PATCH] PCI: hisi: fix deferred probing

2015-11-12 Thread Arnd Bergmann
The hisi_pcie_probe function is incorrectly marked as __init, as Kconfig tells us: WARNING: drivers/pci/host/built-in.o(.data+0x7780): Section mismatch in reference from the variable hisi_pcie_driver to the function .init.text:hisi_pcie_probe() If the probe for this device gets deferred past th