diff options
Diffstat (limited to 'drivers/tty/hvc/hvc_udbg.c')
| -rw-r--r-- | drivers/tty/hvc/hvc_udbg.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/tty/hvc/hvc_udbg.c b/drivers/tty/hvc/hvc_udbg.c index 72228276fe31..9cf573d06a29 100644 --- 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) | |||
| 80 | 80 | ||
| 81 | return 0; | 81 | return 0; |
| 82 | } | 82 | } |
| 83 | module_init(hvc_udbg_init); | 83 | device_initcall(hvc_udbg_init); |
| 84 | |||
| 85 | static void __exit hvc_udbg_exit(void) | ||
| 86 | { | ||
| 87 | if (hvc_udbg_dev) | ||
| 88 | hvc_remove(hvc_udbg_dev); | ||
| 89 | } | ||
| 90 | module_exit(hvc_udbg_exit); | ||
| 91 | 84 | ||
| 92 | static int __init hvc_udbg_console_init(void) | 85 | static int __init hvc_udbg_console_init(void) |
| 93 | { | 86 | { |
