]> www.infradead.org Git - users/dwmw2/linux.git/commit
modpost: rename alias symbol for MODULE_DEVICE_TABLE()
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 19 Nov 2024 23:56:52 +0000 (08:56 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 27 Nov 2024 23:46:02 +0000 (08:46 +0900)
commit054a9cd395a79f4a5595f2cd24542e9bca8723c8
treeb06d60462e7318bfcf3ceb7c6b1337693511d526
parent9a8ace8bb2efa0ca43a77866fa9c835294b1e045
modpost: rename alias symbol for MODULE_DEVICE_TABLE()

This commit renames the alias symbol, __mod_<type>__<name>_device_table
to __mod_device_table__<type>__<name>.

This change simplifies the code slightly, as there is no longer a need
to check both the prefix and suffix.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
include/linux/module.h
scripts/mod/file2alias.c