BugID:24057741: add device init to aos_init
@@ -57,6 +57,10 @@ extern void dumpsys_cli_init(void);
extern int sal_device_init(void);
#endif
+#ifdef WITH_MAL
+extern int mal_device_init(void);
+#endif
+
#ifdef AOS_BINS
extern void *kmbins_tbl[];
@@ -303,6 +307,10 @@ int aos_components_init(kinit_t *kinit)
sal_device_init();
#endif
+#ifdef WITH_MAL
+ mal_device_init();
+#endif
+
#ifdef AOS_LOOP
vfs_device_init();
aos_loop_init();
