modpost: move *.mod.c generation to write_mod_c_files()
A later commit will add more code to this list_for_each_entry loop. Before that, move the loop body into a separate helper function. Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org> Reviewed-by: NNicolas Schier <nicolas@fjasle.eu> Tested-by: NNathan Chancellor <nathan@kernel.org>
Showing
想要评论请 注册 或 登录