summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliruncong <[email protected]>2018-12-05 20:41:44 +0800
committerliruncong <[email protected]>2018-12-05 20:44:00 +0800
commita132ab29de577d4f6823076dc8ca5e3123537a63 (patch)
tree690e51d5c240ed34c1f2c21a35008b2b63c607cc
parent9f86a17e7b670afbdfb62a62362b5ca8077e0fee (diff)
[bsp/qemu-vexpress-a9]rt_hw_interrupt_install函数name参数增加const限定
-rw-r--r--bsp/qemu-vexpress-a9/cpu/interrupt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/qemu-vexpress-a9/cpu/interrupt.c b/bsp/qemu-vexpress-a9/cpu/interrupt.c
index febf86a66e..d553188e93 100644
--- a/bsp/qemu-vexpress-a9/cpu/interrupt.c
+++ b/bsp/qemu-vexpress-a9/cpu/interrupt.c
@@ -93,7 +93,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;