summaryrefslogtreecommitdiff
path: root/arch/mn10300/unit-asb2303/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mn10300/unit-asb2303/flash.c')
-rw-r--r--arch/mn10300/unit-asb2303/flash.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mn10300/unit-asb2303/flash.c b/arch/mn10300/unit-asb2303/flash.c
index 17fe083fcb6f..b03d8738d67c 100644
--- a/arch/mn10300/unit-asb2303/flash.c
+++ b/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);