diff options
author | Christoph Egger <siccegge@cs.fau.de> | 2010-05-17 10:57:58 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-21 12:37:32 -0400 |
commit | 1d9e882ba4971f31473dd812da64909f30a6c242 (patch) | |
tree | 7aa72f2ca3a39ee0e505ea0d91a9d773bdbad269 | |
parent | de139a3393958c5adc75b7df7619d7e48d9ea559 (diff) |
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: Christoph Egger <siccegge@cs.fau.de>
Cc: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/base/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c index 17e7d5048b83..9630fbdf4e6c 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c | |||
@@ -1420,7 +1420,7 @@ struct device *__root_device_register(const char *name, struct module *owner) | |||
1420 | return ERR_PTR(err); | 1420 | return ERR_PTR(err); |
1421 | } | 1421 | } |
1422 | 1422 | ||
1423 | #ifdef CONFIG_MODULE /* gotta find a "cleaner" way to do this */ | 1423 | #ifdef CONFIG_MODULES /* gotta find a "cleaner" way to do this */ |
1424 | if (owner) { | 1424 | if (owner) { |
1425 | struct module_kobject *mk = &owner->mkobj; | 1425 | struct module_kobject *mk = &owner->mkobj; |
1426 | 1426 | ||