[PATCH] SERIO: Fix modpost warning.

From: Ralf Baechle
Date: Mon Aug 13 2007 - 10:48:14 EST


i8042_unregister_ports's only caller i8042_remove is a __devexit function
so make it __devexit too.

Ralf

diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c
index 3888dc3..ed286aa 100644
--- a/drivers/input/serio/i8042.c
+++ b/drivers/input/serio/i8042.c
@@ -1038,7 +1038,7 @@ static void __devinit i8042_register_ports(void)
}
}

-static void __devinit i8042_unregister_ports(void)
+static void __devexit i8042_unregister_ports(void)
{
int i;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/