[PATCH 10/35] mfd: ab8500-core: Rework MFD sub-device initialisation structures
Arnd Bergmann
arnd at arndb.de
Tue Feb 19 17:07:31 EST 2013
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
More information about the linux-arm-kernel
mailing list