|
@@ -2222,7 +2222,7 @@ static struct parport_driver panel_driver = {
|
|
};
|
|
};
|
|
|
|
|
|
/* init function */
|
|
/* init function */
|
|
-static int panel_init(void)
|
|
|
|
|
|
+static int __init panel_init_module(void)
|
|
{
|
|
{
|
|
/* for backwards compatibility */
|
|
/* for backwards compatibility */
|
|
if (keypad_type < 0)
|
|
if (keypad_type < 0)
|
|
@@ -2334,11 +2334,6 @@ static int panel_init(void)
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
-static int __init panel_init_module(void)
|
|
|
|
-{
|
|
|
|
- return panel_init();
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
static void __exit panel_cleanup_module(void)
|
|
static void __exit panel_cleanup_module(void)
|
|
{
|
|
{
|
|
unregister_reboot_notifier(&panel_notifier);
|
|
unregister_reboot_notifier(&panel_notifier);
|