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

Paul Walmsley paul at pwsan.com
Thu Feb 24 04:06:05 EST 2011


On Wed, 23 Feb 2011, Tony Lindgren wrote:

> * 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.

Sounds good to me.  Will write a patch to make this change,

- Paul



More information about the linux-arm-kernel mailing list