diff --git a/drivers/base/core.c b/drivers/base/core.c index 17e7d5048b8379e983ad25ae14e5651c1d0ae815..9630fbdf4e6c210eb09a92f4489bb55f60e3b3a7 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;