소스 검색

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

liruncong 6 년 전
부모
커밋
2635cc1694
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      libcpu/arm/am335x/interrupt.c

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

@@ -158,7 +158,7 @@ void rt_hw_interrupt_ack(int fiq_irq)
  * @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;