浏览代码

fix(prototyper): fix the typo of misc

Signed-off-by: guttatus <[email protected]>
guttatus 1 周之前
父节点
当前提交
0aea8fce00
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      prototyper/prototyper/src/platform/mod.rs

+ 2 - 2
prototyper/prototyper/src/platform/mod.rs

@@ -92,7 +92,7 @@ impl Platform {
         // Initialize pmu extension
         self.sbi_init_pmu(&root);
         // Get other info
-        self.sbi_mics_init(&tree);
+        self.sbi_misc_init(&tree);
 
         self.ready.swap(true, Ordering::Release);
     }
@@ -220,7 +220,7 @@ impl Platform {
         }
     }
 
-    fn sbi_mics_init(&mut self, tree: &Tree) {
+    fn sbi_misc_init(&mut self, tree: &Tree) {
         // Get memory info
         // TODO: More than one memory node or range?
         let memory_reg = tree