浏览代码

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

liruncong 6 年之前
父节点
当前提交
da9bc3d677
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      libcpu/mips/x1000/interrupt.c

+ 1 - 1
libcpu/mips/x1000/interrupt.c

@@ -80,7 +80,7 @@ void rt_hw_interrupt_umask(int vector)
 }
 
 rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler,
-        void *param, char *name)
+        void *param, const char *name)
 {
     rt_isr_handler_t old_handler = RT_NULL;