Procházet zdrojové kódy

[libcpu/arm/realview-a8-vmm]rt_hw_interrupt_install函数name参数增加const限定

liruncong před 6 roky
rodič
revize
96691760dc
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      libcpu/arm/realview-a8-vmm/interrupt.c

+ 1 - 1
libcpu/arm/realview-a8-vmm/interrupt.c

@@ -103,7 +103,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;