Commits

Richard Hu committed 877a4d11b52
regulator: bd71837: fix section mismatch errors during compiling Fix section mismatch errors below: WARNING: modpost: Found 1 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' WARNING: drivers/built-in.o(.data+0x72c58): Section mismatch in reference from the variable bd71837_driver to the function .init.text:bd71837_probe() The variable bd71837_driver references the function __init bd71837_probe() If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console