projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'mvebu-soc-3.15-3' of git://git.infradead.org/linux-mvebu into next/soc
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
tty
/
hvc
/
hvc_udbg.c
diff --git
a/drivers/tty/hvc/hvc_udbg.c
b/drivers/tty/hvc/hvc_udbg.c
index 72228276fe314b36a1344a1ffef36263a4379c4c..9cf573d06a29bb8f44067d4c2ac70283db20f6db 100644
(file)
--- a/
drivers/tty/hvc/hvc_udbg.c
+++ b/
drivers/tty/hvc/hvc_udbg.c
@@
-80,14
+80,7
@@
static int __init hvc_udbg_init(void)
return 0;
}
return 0;
}
-module_init(hvc_udbg_init);
-
-static void __exit hvc_udbg_exit(void)
-{
- if (hvc_udbg_dev)
- hvc_remove(hvc_udbg_dev);
-}
-module_exit(hvc_udbg_exit);
+device_initcall(hvc_udbg_init);
static int __init hvc_udbg_console_init(void)
{
static int __init hvc_udbg_console_init(void)
{