powerpc/4xx: make sam440ep_setup_rtc init

Michael Ellerman patch-notifications at ellerman.id.au
Mon Apr 3 20:13:18 AEST 2017


On Tue, 2016-04-26 at 16:49:38 UTC, yshi wrote:
> sam440ep_setup_rtc is just called by machine_device_initcall, and it calls
> i2c_register_board_info which is init too, so the lack of __init may cause
> mismatch warning when linking kernel.
> 
> Signed-off-by: Yang Shi <yang.shi at windriver.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/adec9a2e7ca3b4193818f9a7b39563

cheers


More information about the Linuxppc-dev mailing list