summaryrefslogtreecommitdiff
path: root/include/linux/module.h
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2025-05-07 09:47:05 +0900
committerMark Brown <broonie@kernel.org>2025-05-07 09:47:05 +0900
commit9fbae052f6f68056fd84e8ba096a7e9ab3464f3d (patch)
tree9761fe612792d8c4e67c5da66fa5258e7c0c13fe /include/linux/module.h
parent222a87f6b94f6f177e896d6fcdc7881480344e34 (diff)
parent9f7cd1bcb6363368abc954ff4e727b579813c697 (diff)
This patch set did some clean up and add runtime pm
Merge series from Haibo Chen <haibo.chen@nxp.com>: PATCH1/3/4 to clean up the code, make the code more readable PATCH2 add the runtime pm support PATCH5 use devm_add_action_or_reset() to replace remove() callback, this can avoid oops when do bind/unbind test
Diffstat (limited to 'include/linux/module.h')
-rw-r--r--include/linux/module.h2
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)