[PATCH 7/8] OMAP2+: hwmod: add ability to late-init individual hwmods

Tony Lindgren tony at atomide.com
Wed Feb 23 14:12:12 EST 2011


Hi,

* Paul Walmsley <paul at pwsan.com> [110222 23:11]:
> --- a/arch/arm/mach-omap2/omap_hwmod.c
> +++ b/arch/arm/mach-omap2/omap_hwmod.c
> +int __init omap_hwmod_late_init_one(const char *oh_name)

How about the following naming changes to avoid confusion:

omap_hwmod_init			-> omap_hwmod_register
omap_hwmod_late_init		-> omap_hwmod_init
omap_hwmod_late_init_one	-> omap_hwmod_init_one

This is because "late_init" gets actually called very early
during the boot.

Regards,

Tony



More information about the linux-arm-kernel mailing list