Re: [PATCH] powerpc/8xx: add __init to cpm1 init functions

2019-11-25 Thread Michael Ellerman
On Thu, 2019-09-12 at 13:22:55 UTC, Christophe Leroy wrote: > Functions cpm1_clk_setup(), cpm1_set_pin(), cpm_pic_init() and > mpc8xx_pic_init() are only called from __init functions, so mark > them __init as well. > > Signed-off-by: Christophe Leroy Applied to powerpc next, thanks.

[PATCH] powerpc/8xx: add __init to cpm1 init functions

2019-09-12 Thread Christophe Leroy
Functions cpm1_clk_setup(), cpm1_set_pin(), cpm_pic_init() and mpc8xx_pic_init() are only called from __init functions, so mark them __init as well. Signed-off-by: Christophe Leroy --- arch/powerpc/platforms/8xx/cpm1.c | 10 +- arch/powerpc/platforms/8xx/pic.c | 2 +- 2 files changed,