提交 332dbfe0 编写于 作者: L liruncong

[bsp/fh8620]rt_hw_interrupt_install函数name参数增加const限定

上级 57712257
...@@ -169,7 +169,7 @@ void rt_hw_interrupt_umask(int irq) ...@@ -169,7 +169,7 @@ void rt_hw_interrupt_umask(int irq)
* @return old handler * @return old handler
*/ */
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;
......
...@@ -35,6 +35,6 @@ void rt_hw_interrupt_init(void); ...@@ -35,6 +35,6 @@ void rt_hw_interrupt_init(void);
void rt_hw_interrupt_mask(int irq); void rt_hw_interrupt_mask(int irq);
void rt_hw_interrupt_umask(int irq); void rt_hw_interrupt_umask(int irq);
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);
#endif /* INTERRUPT_H_ */ #endif /* INTERRUPT_H_ */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册