mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 03:35:32 -04:00
driver core: fix path of /sys/module in comment
The comment wrongly references to /sys/modules directory instead of /sys/module. Fix it. Signed-off-by: Zenghui Yu <zenghui.yu@linux.dev> Acked-by: Randy Dunlap <rdunlap@infradead.org> Link: https://patch.msgid.link/20260621075239.11330-1-zenghui.yu@linux.dev Signed-off-by: Danilo Krummrich <dakr@kernel.org>
This commit is contained in:
committed by
Danilo Krummrich
parent
f81808de37
commit
e7e09a8546
@@ -42,7 +42,7 @@ int module_add_driver(struct module *mod, const struct device_driver *drv)
|
||||
if (mod)
|
||||
mk = &mod->mkobj;
|
||||
else if (drv->mod_name) {
|
||||
/* Lookup or create built-in module entry in /sys/modules */
|
||||
/* Lookup or create built-in module entry in /sys/module */
|
||||
mk = lookup_or_create_module_kobject(drv->mod_name);
|
||||
if (mk) {
|
||||
/* remember our module structure */
|
||||
|
||||
Reference in New Issue
Block a user