modpost: move struct namespace_list to modpost.c
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 24 Apr 2022 19:07:56 +0000 (04:07 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 7 May 2022 18:17:00 +0000 (03:17 +0900)
commit70ddb48db4aaddd3c2a7d8802463e15b21ce8525
tree5cf3afca1326c04ad1922a1f07b22bbc57fe7c53
parent4cae77ac582b430d6ad6fbf0e1b23248997ceac8
modpost: move struct namespace_list to modpost.c

There is no good reason to define struct namespace_list in modpost.h

struct module has pointers to struct namespace_list, but that does
not require the definition of struct namespace_list.

Move it to modpost.c.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
scripts/mod/modpost.c
scripts/mod/modpost.h