From: Christoph Egger Date: Mon, 17 May 2010 14:57:58 +0000 (+0200) Subject: driver-core: fix Typo in drivers/base/core.c for CONFIG_MODULE X-Git-Tag: v3.0~4917^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1d9e882ba4971f31473dd812da64909f30a6c242;p=platform%2Fkernel%2Flinux-amlogic.git 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 Cc: Mark McLoughlin Signed-off-by: Greg Kroah-Hartman --- 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;