[PATCH] mach-sa1100: add missing module_init() call

Kristoffer Ericson kristoffer.ericson at gmail.com
Sat Jan 21 05:50:20 EST 2012


On Thu, Jan 19, 2012 at 07:39:22PM +0100, Linus Walleij wrote:
> The Jornada SSP driver is supposed to be initialized by a
> module_init() call, but it was missed at some merge point. Since
> the driver mostly pass calls through it magically works anyway,
> but needs to be rectified.
> 
> Cc: Kristoffer Ericson <kristoffer.ericson at gmail.com>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>

Thanks for spotting this :)

Acked-by: Kristoffer Ericson <kristoffer.ericson at gmail.com> 

> ---
>  arch/arm/mach-sa1100/jornada720_ssp.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-sa1100/jornada720_ssp.c b/arch/arm/mach-sa1100/jornada720_ssp.c
> index f50b00b..b412fc0 100644
> --- a/arch/arm/mach-sa1100/jornada720_ssp.c
> +++ b/arch/arm/mach-sa1100/jornada720_ssp.c
> @@ -198,3 +198,5 @@ static int __init jornada_ssp_init(void)
>  {
>  	return platform_driver_register(&jornadassp_driver);
>  }
> +
> +module_init(jornada_ssp_init);
> -- 
> 1.7.7.5



More information about the linux-arm-kernel mailing list