Просмотр исходного кода

Input: cannot refer to __exit from within __init.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Andrew Morton 20 лет назад
Родитель
Сommit
beffbdc221
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      drivers/input/input.c

+ 1 - 1
drivers/input/input.c

@@ -581,7 +581,7 @@ static int __init input_proc_init(void)
 	return -ENOMEM;
 	return -ENOMEM;
 }
 }
 
 
-static void __exit input_proc_exit(void)
+static void input_proc_exit(void)
 {
 {
 	remove_proc_entry("devices", proc_bus_input_dir);
 	remove_proc_entry("devices", proc_bus_input_dir);
 	remove_proc_entry("handlers", proc_bus_input_dir);
 	remove_proc_entry("handlers", proc_bus_input_dir);