Commit 1d9e882b authored by Christoph Egger's avatar Christoph Egger Committed by Greg Kroah-Hartman

driver-core: fix Typo in drivers/base/core.c for CONFIG_MODULE

In this code section the final S of CONFIG_MODULES was missed making
the whole check useless
Signed-off-by: default avatarChristoph Egger <siccegge@cs.fau.de>
Cc: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent de139a33
...@@ -1420,7 +1420,7 @@ struct device *__root_device_register(const char *name, struct module *owner) ...@@ -1420,7 +1420,7 @@ struct device *__root_device_register(const char *name, struct module *owner)
return ERR_PTR(err); return ERR_PTR(err);
} }
#ifdef CONFIG_MODULE /* gotta find a "cleaner" way to do this */ #ifdef CONFIG_MODULES /* gotta find a "cleaner" way to do this */
if (owner) { if (owner) {
struct module_kobject *mk = &owner->mkobj; struct module_kobject *mk = &owner->mkobj;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment