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 18:37:32 +0200 |
commit | 1d9e882ba4971f31473dd812da64909f30a6c242 (patch) | |
tree | 7aa72f2ca3a39ee0e505ea0d91a9d773bdbad269 /drivers/base | |
parent | pci: check caps from sysfs file open to read device dependent config space (diff) | |
download | linux-1d9e882ba4971f31473dd812da64909f30a6c242.tar.xz linux-1d9e882ba4971f31473dd812da64909f30a6c242.zip |
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')
-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) 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; |