diff options
| author | Shyam Saini <[email protected]> | 2025-02-27 18:49:29 +0000 |
|---|---|---|
| committer | Petr Pavlu <[email protected]> | 2025-04-16 12:54:53 +0000 |
| commit | 7c76c813cfc42a7376378a0c4b7250db2eebab81 (patch) | |
| tree | d6c48cf5d291e39da1323f9bada8aea2b454685c /net/unix/af_unix.h | |
| parent | kernel: refactor lookup_or_create_module_kobject() (diff) | |
| download | kernel-7c76c813cfc42a7376378a0c4b7250db2eebab81.tar.gz kernel-7c76c813cfc42a7376378a0c4b7250db2eebab81.zip | |
kernel: globalize lookup_or_create_module_kobject()
lookup_or_create_module_kobject() is marked as static and __init,
to make it global drop static keyword.
Since this function can be called from non-init code, use __modinit
instead of __init, __modinit marker will make it __init if
CONFIG_MODULES is not defined.
Suggested-by: Rasmus Villemoes <[email protected]>
Signed-off-by: Shyam Saini <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Petr Pavlu <[email protected]>
Diffstat (limited to 'net/unix/af_unix.h')
0 files changed, 0 insertions, 0 deletions
