diff options
author | Christoph Egger <siccegge@cs.fau.de> | 2010-05-17 16:57:58 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-21 09:37:32 -0700 |
commit | 1d9e882ba4971f31473dd812da64909f30a6c242 (patch) | |
tree | 7aa72f2ca3a39ee0e505ea0d91a9d773bdbad269 /drivers/base/core.c | |
parent | de139a3393958c5adc75b7df7619d7e48d9ea559 (diff) | |
download | op-kernel-dev-1d9e882ba4971f31473dd812da64909f30a6c242.zip op-kernel-dev-1d9e882ba4971f31473dd812da64909f30a6c242.tar.gz |
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>
Diffstat (limited to 'drivers/base/core.c')
-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 17e7d50..9630fbd 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) 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) { struct module_kobject *mk = &owner->mkobj; |