瀏覽代碼

[libcpu/mips/ppc405]rt_hw_interrupt_install函数name参数增加const限定

liruncong 6 年之前
父節點
當前提交
cea021781e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      libcpu/ppc/ppc405/interrupt.c

+ 1 - 1
libcpu/ppc/ppc405/interrupt.c

@@ -79,7 +79,7 @@ void uic_interrupt(rt_uint32_t uic_base, int vec_base)
 }
 
 rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t new_handler, 
-    void* param, char* name)
+    void* param, const char* name)
 {
     int	intVal;
     rt_isr_handler_t old_handler;