Re: [PATCH] ARM : omap : remove __init for _enable_preprogram

2013-05-16 Thread Tony Lindgren
* Kevin Hilman [130514 11:13]: > jp.franc...@cynove.com writes: > > > _enable_preprogram is marked as __init, but is called from _enable which is > > not. > > This results in oops once init is freed. > > Fix this by removing the __init marker. > > > > Signed-off-by: Jean-Philippe François > >

Re: [PATCH] ARM : omap : remove __init for _enable_preprogram

2013-05-14 Thread Greg KH
On Tue, May 14, 2013 at 06:07:01PM +0200, jp.franc...@cynove.com wrote: > _enable_preprogram is marked as __init, but is called from _enable which is > not. > This results in oops once init is freed. > Fix this by removing the __init marker. > > Signed-off-by: Jean-Philippe François This is n

Re: [PATCH] ARM : omap : remove __init for _enable_preprogram

2013-05-14 Thread Kevin Hilman
jp.franc...@cynove.com writes: > _enable_preprogram is marked as __init, but is called from _enable which is > not. > This results in oops once init is freed. > Fix this by removing the __init marker. > > Signed-off-by: Jean-Philippe François Acked-by: Kevin Hilman Tony, this should probably

[PATCH] ARM : omap : remove __init for _enable_preprogram

2013-05-14 Thread jp . francois
_enable_preprogram is marked as __init, but is called from _enable which is not. This results in oops once init is freed. Fix this by removing the __init marker. Signed-off-by: Jean-Philippe François Index: b/arch/arm/mach-omap2/omap_hwmod.c =