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

This commit is contained in:
liruncong 2018-12-05 20:37:24 +08:00
parent 3e05f24608
commit 849421709b
1 changed files with 1 additions and 1 deletions

View File

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