projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de139a3
)
driver-core: fix Typo in drivers/base/core.c for CONFIG_MODULE
author
Christoph Egger
<siccegge@cs.fau.de>
Mon, 17 May 2010 14:57:58 +0000
(16:57 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 21 May 2010 16:37:32 +0000
(09:37 -0700)
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>
drivers/base/core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/base/core.c
b/drivers/base/core.c
index 17e7d5048b8379e983ad25ae14e5651c1d0ae815..9630fbdf4e6c210eb09a92f4489bb55f60e3b3a7 100644
(file)
--- 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_MODULE
S
/* gotta find a "cleaner" way to do this */
if (owner) {
struct module_kobject *mk = &owner->mkobj;