summaryrefslogtreecommitdiff
path: root/arch/mips/cobalt/mtd.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/cobalt/mtd.c')
-rw-r--r--arch/mips/cobalt/mtd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/cobalt/mtd.c b/arch/mips/cobalt/mtd.c
index 8db7b5d81560..83e1b1093d5f 100644
--- a/arch/mips/cobalt/mtd.c
+++ b/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);