summaryrefslogtreecommitdiffstats
path: root/kernel/arch/mips/cobalt/mtd.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/mips/cobalt/mtd.c')
-rw-r--r--kernel/arch/mips/cobalt/mtd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/arch/mips/cobalt/mtd.c b/kernel/arch/mips/cobalt/mtd.c
index 8db7b5d81..83e1b1093 100644
--- a/kernel/arch/mips/cobalt/mtd.c
+++ b/kernel/arch/mips/cobalt/mtd.c
@@ -57,5 +57,4 @@ static int __init cobalt_mtd_init(void)
return 0;
}
-
-module_init(cobalt_mtd_init);
+device_initcall(cobalt_mtd_init);