[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20121025203401.GA2925@kroah.com>
Date: Thu, 25 Oct 2012 13:34:01 -0700
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Chris Metcalf <cmetcalf@...era.com>
Cc: Bjorn Helgaas <bhelgaas@...gle.com>,
Thierry Reding <thierry.reding@...onic-design.de>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] tilegx: move fixup hook from __init to __devinit
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@...era.com>
> Cc: stable@...r.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists