[PATCH 06/17] ARM: imx: use machine specific hook for late init

Sascha Hauer s.hauer at pengutronix.de
Fri Apr 27 05:05:08 EDT 2012


On Thu, Apr 26, 2012 at 11:38:34PM +0800, Shawn Guo wrote:
> Cc: Sascha Hauer <kernel at pengutronix.de>
> -static int __init eet_init_devices(void)
> +int __init pcm037_eet_init_devices(void)
>  {
> -	if (!machine_is_pcm037() || pcm037_variant() != PCM037_EET)
> -		return 0;

The pcm037_variant() != PCM037_EET gets lost here.

Otherwise looks good.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the linux-arm-kernel mailing list