[PATCH 2/2] enable generic rtc hook for the MPC8349 mITX

Kumar Gala galak at kernel.crashing.org
Wed Sep 27 14:34:43 EST 2006


On Sep 26, 2006, at 5:46 PM, Kim Phillips wrote:

> enable generic rtc hook for the MPC8349 mITX.
>
> Signed-off-by: Kim Phillips <kim.phillips at freescale.com>
>
> ---
>  arch/powerpc/platforms/83xx/mpc834x_itx.c |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/arch/powerpc/platforms/83xx/mpc834x_itx.c b/arch/ 
> powerpc/platforms/83xx/mpc834x_itx.c
> index 969fbb6..8c676d7 100644
> --- a/arch/powerpc/platforms/83xx/mpc834x_itx.c
> +++ b/arch/powerpc/platforms/83xx/mpc834x_itx.c
> @@ -109,6 +109,10 @@ static int __init mpc834x_itx_probe(void
>  	return 1;
>  }
>
> +#ifdef CONFIG_RTC_CLASS
> +late_initcall(rtc_class_hookup);
> +#endif

Any reason we can't just do this in setup_arch?

- k

> +
>  define_machine(mpc834x_itx) {
>  	.name			= "MPC834x ITX",
>  	.probe			= mpc834x_itx_probe,
> -- 
> 1.4.2.1




More information about the Linuxppc-dev mailing list