1
0
Эх сурвалжийг харах

[bsp/qemu-vexpress-gemini]rt_hw_interrupt_install函数name参数增加const限定

liruncong 6 жил өмнө
parent
commit
0844ba3c17

+ 1 - 1
bsp/qemu-vexpress-gemini/cpu/interrupt.c

@@ -108,7 +108,7 @@ void rt_hw_interrupt_umask(int vector)
  * @param old_handler the old interrupt service routine
  * @param old_handler the old interrupt service routine
  */
  */
 rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler,
 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;
     rt_isr_handler_t old_handler = RT_NULL;