Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1d9e882b authored by Christoph Egger's avatar Christoph Egger Committed by Greg Kroah-Hartman
Browse files

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: default avatarChristoph Egger <siccegge@cs.fau.de>
Cc: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent de139a33
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;