projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdc4b52
)
usb: gadget: android: move init to late_initcall for now
author
Arve Hjønnevåg
<arve@android.com>
Tue, 5 Mar 2013 03:14:10 +0000
(19:14 -0800)
committer
Arve Hjønnevåg
<arve@android.com>
Mon, 1 Jul 2013 22:51:57 +0000
(15:51 -0700)
gserial_alloc_line crashes when called from module_init
Signed-off-by: Arve Hjønnevåg <arve@android.com>
drivers/usb/gadget/android.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/android.c
b/drivers/usb/gadget/android.c
index 60072f3af96c8a05b67e86bfa79d47e9813e0553..f5b00c122585934ab163a2eb1e2af7397ea0b5d5 100644
(file)
--- a/
drivers/usb/gadget/android.c
+++ b/
drivers/usb/gadget/android.c
@@
-1472,7
+1472,7
@@
err_dev:
class_destroy(android_class);
return err;
}
-
module_init
(init);
+
late_initcall
(init);
static void __exit cleanup(void)
{