summaryrefslogtreecommitdiff
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorShi Hao <i.shihao.999@gmail.com>2025-10-18 10:55:41 +0530
committerJakub Kicinski <kuba@kernel.org>2025-10-21 18:28:56 -0700
commit1471a274b76d1469a06e32752d49b25cb6db2406 (patch)
tree84b2bfaadf44dfecc8f743cb8d1fc88a587f353d /drivers/net/xen-netback/interface.c
parent9549c74e015b8314712a26a632152f6fa995b73e (diff)
eth: 3c515: replace cleanup_module with __exit
update old legacy cleanup_module from the file with __exit module as per kernel code practices and restore the #ifdef MODULE condition to allow successful compilation as a built -in driver. The file had an old cleanup_module still in use which could be updated with __exit module function although its init_module is indeed newer however the cleanup_module was still using the older version of exit. To set proper exit module function replace cleanup_module with __exit corkscrew_exit_module to align it to the kernel code consistency. Signed-off-by: Shi Hao <i.shihao.999@gmail.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20251018052541.124365-1-i.shihao.999@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions