WARNING: vmlinux.o(___ksymtab+regulator_stub_init+0x0): Section mismatch in reference from the variable __ksymtab_regulator_stub_init to the function .init.text:regulator_stub_init()
The symbol regulator_stub_init is exported and annotated __init
Function regulator_stub_init declare __init and set it as EXPORT_SYMBOL
will cause section mismatch. Fix this by removing __init.
Fixes: 5138288a19 ("regulator: add snapshot of the stub-regulator driver")
Bug: 240936839
Bug: 240880948
Signed-off-by: Lucas Wei <lucaswei@google.com>
Change-Id: I7c6a7b4ceb23935bbafb17fdb2a0a2bc0673affd