Skip to content

Commit

Permalink
driver-core: fix Typo in drivers/base/core.c for CONFIG_MODULE
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christoph Egger authored and Greg Kroah-Hartman committed May 21, 2010
1 parent de139a3 commit 1d9e882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/base/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 1d9e882

Please sign in to comment.