summaryrefslogtreecommitdiffstats
path: root/kernel/arch/mn10300/unit-asb2303/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/mn10300/unit-asb2303/flash.c')
-rw-r--r--kernel/arch/mn10300/unit-asb2303/flash.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/arch/mn10300/unit-asb2303/flash.c b/kernel/arch/mn10300/unit-asb2303/flash.c
index 17fe083fc..b03d8738d 100644
--- a/kernel/arch/mn10300/unit-asb2303/flash.c
+++ b/kernel/arch/mn10300/unit-asb2303/flash.c
@@ -96,5 +96,4 @@ static int __init asb2303_mtd_init(void)
platform_device_register(&asb2303_sysflash);
return 0;
}
-
-module_init(asb2303_mtd_init);
+device_initcall(asb2303_mtd_init);