Re: [PATCH 10/35] mfd: ab8500-core: Rework MFD sub-device initialisation structures

From: Arnd Bergmann
Date: Tue Feb 19 2013 - 17:07:49 EST


On Friday 15 February 2013, Lee Jones wrote:
> + {
> + .name = "ab8500-charger",
> + .of_compatible = "stericsson,ab8500-charger",
> + .num_resources = ARRAY_SIZE(ab8500_charger_resources),
> + .resources = ab8500_charger_resources,
> +#ifndef CONFIG_OF
> + .platform_data = &ab8500_bm_data,
> + .pdata_size = sizeof(ab8500_bm_data),
> +#endif
> + },

Is this #ifdef correct? I would have expected "#ifdef CONFIG_ATAGS" here.

Arnd
--
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/