* [PATCH] tilegx: move fixup hook from __init to __devinit
@ 2012-10-25 20:19 Chris Metcalf
2012-10-25 20:34 ` Greg Kroah-Hartman
0 siblings, 1 reply; 2+ messages in thread
From: Chris Metcalf @ 2012-10-25 20:19 UTC (permalink / raw)
To: Bjorn Helgaas, Thierry Reding, Greg Kroah-Hartman, linux-kernel
Support having the PCI bus be removed at runtime and rediscovered.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Cc: stable@vger.kernel.org [v3.6]
---
arch/tile/kernel/pci_gx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/tile/kernel/pci_gx.c b/arch/tile/kernel/pci_gx.c
index 2ba6d05..248d08a 100644
--- a/arch/tile/kernel/pci_gx.c
+++ b/arch/tile/kernel/pci_gx.c
@@ -1047,7 +1047,7 @@ int pcibios_enable_device(struct pci_dev *dev, int mask)
}
/* Called for each device after PCI setup is done. */
-static void __init
+static void __devinit
pcibios_fixup_final(struct pci_dev *pdev)
{
set_dma_ops(&pdev->dev, gx_pci_dma_map_ops);
--
1.7.10.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] tilegx: move fixup hook from __init to __devinit
2012-10-25 20:19 [PATCH] tilegx: move fixup hook from __init to __devinit Chris Metcalf
@ 2012-10-25 20:34 ` Greg Kroah-Hartman
0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2012-10-25 20:34 UTC (permalink / raw)
To: Chris Metcalf; +Cc: Bjorn Helgaas, Thierry Reding, linux-kernel
On Thu, Oct 25, 2012 at 04:19:09PM -0400, Chris Metcalf wrote:
> Support having the PCI bus be removed at runtime and rediscovered.
>
> Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
> Cc: stable@vger.kernel.org [v3.6]
> ---
> arch/tile/kernel/pci_gx.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/tile/kernel/pci_gx.c b/arch/tile/kernel/pci_gx.c
> index 2ba6d05..248d08a 100644
> --- a/arch/tile/kernel/pci_gx.c
> +++ b/arch/tile/kernel/pci_gx.c
> @@ -1047,7 +1047,7 @@ int pcibios_enable_device(struct pci_dev *dev, int mask)
> }
>
> /* Called for each device after PCI setup is done. */
> -static void __init
> +static void __devinit
Just delete __devinit, it means nothing in 3.7, and really, you don't
want it there at all anyway for any older kernels.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-25 20:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-25 20:19 [PATCH] tilegx: move fixup hook from __init to __devinit Chris Metcalf
2012-10-25 20:34 ` Greg Kroah-Hartman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.