Browse Source

[libcpu/arm/s3c24x0]rt_hw_interrupt_install函数name参数增加const限定

liruncong 6 years ago
parent
commit
46c5c8267a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libcpu/arm/s3c24x0/interrupt.c

+ 1 - 1
libcpu/arm/s3c24x0/interrupt.c

@@ -104,7 +104,7 @@ void rt_hw_interrupt_umask(int vector)
  * @param old_handler the old interrupt service routine
  */
 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;