diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2025-04-30 08:37:52 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2025-04-30 08:37:52 -0700 |
commit | 3929527918ffa6a0e5c31004ed06d8d1032fc1cf (patch) | |
tree | 34b27fc2c7ce3f316711e46d2976ca8fdbbe61a9 /include | |
parent | b6ea1680d0ac0e45157a819c41b46565f4616186 (diff) | |
parent | f95bbfe18512c5c018720468959edac056a17196 (diff) |
Merge tag 'modules-6.15-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/modules/linux
Pull modules fixes from Petr Pavlu:
"A single series to properly handle the module_kobject creation.
This fixes a problem with missing /sys/module/<module>/drivers for
built-in modules"
* tag 'modules-6.15-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/modules/linux:
drivers: base: handle module_kobject creation
kernel: globalize lookup_or_create_module_kobject()
kernel: refactor lookup_or_create_module_kobject()
kernel: param: rename locate_module_kobject
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/module.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/module.h b/include/linux/module.h index d94b196d5a34..b3329110d668 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -162,6 +162,8 @@ extern void cleanup_module(void); #define __INITRODATA_OR_MODULE __INITRODATA #endif /*CONFIG_MODULES*/ +struct module_kobject *lookup_or_create_module_kobject(const char *name); + /* Generic info of form tag = "info" */ #define MODULE_INFO(tag, info) __MODULE_INFO(tag, tag, info) |