Subject: [PATCH 03/11] ARM: sa1111: move __sa1111_probe() to .devinit.text

From: [email-masked] (Kristoffer Ericson)
Date: Fri, 23 Jul 2010 22:23:50 +0200

you beat me to it :)

Acked-by: Kristoffer Ericson <[email-masked]>

On Fri, Jul 23, 2010 at 09:58:26PM +0200, Uwe Kleine-K?nig wrote:
> __sa1111_probe is only called by sa1111_probe that lives in .devinit.text.
> So it's save to move the former to .devinit.text, too.
> 
> Signed-off-by: Uwe Kleine-K?nig <[email-masked]>
> ---
>  arch/arm/common/sa1111.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/common/sa1111.c b/arch/arm/common/sa1111.c
> index 6f80665..97c5bc9 100644
> --- a/arch/arm/common/sa1111.c
> +++ b/arch/arm/common/sa1111.c
> @@ -681,7 +681,7 @@ out:
>   *	%-EBUSY		physical address already marked in-use.
>   *	%0		successful.
>   */
> -static int
> +static int __devinit
>  __sa1111_probe(struct device *me, struct resource *mem, int irq)
>  {
>  	struct sa1111 *sachip;
> -- 
> 1.7.1