summaryrefslogtreecommitdiffstats
path: root/kernel/arch/parisc/kernel/pdc_cons.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/parisc/kernel/pdc_cons.c')
-rw-r--r--kernel/arch/parisc/kernel/pdc_cons.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/arch/parisc/kernel/pdc_cons.c b/kernel/arch/parisc/kernel/pdc_cons.c
index d5cae5519..10a5ae955 100644
--- a/kernel/arch/parisc/kernel/pdc_cons.c
+++ b/kernel/arch/parisc/kernel/pdc_cons.c
@@ -207,8 +207,7 @@ static int __init pdc_console_tty_driver_init(void)
return 0;
}
-
-module_init(pdc_console_tty_driver_init);
+device_initcall(pdc_console_tty_driver_init);
static struct tty_driver * pdc_console_device (struct console *c, int *index)
{