Re: [PATCH] tilegx: move fixup hook from __init to __devinit

From: Greg Kroah-Hartman
Date: Thu Oct 25 2012 - 16:34:04 EST


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@xxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx [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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/