]> err.no Git - linux-2.6/commitdiff
Input: i8042 - fix modpost warning
authorRalf Baechle <ralf@linux-mips.org>
Wed, 5 Sep 2007 03:16:31 +0000 (23:16 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 5 Sep 2007 03:16:31 +0000 (23:16 -0400)
i8042_unregister_ports's only caller i8042_remove is a __devexit function
so make it __devexit too.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/serio/i8042.c

index 06b05dd2248508e3c2516048e4abddec26e88abd..c2eea2767e1096ed9d1e5b16e6e09593df8d06f0 100644 (file)
@@ -1040,7 +1040,7 @@ static void __devinit i8042_register_ports(void)
        }
 }
 
-static void __devinit i8042_unregister_ports(void)
+static void __devexit i8042_unregister_ports(void)
 {
        int i;