summaryrefslogtreecommitdiff
path: root/bsp/qemu-vexpress-a9
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2018-12-06 06:04:11 +0800
committerGitHub <[email protected]>2018-12-06 06:04:11 +0800
commit27cd03d4546a245d4d11d3b25eeda31b91815b69 (patch)
tree1d1f87c7d5456b39547084b190889186d07a0336 /bsp/qemu-vexpress-a9
parent51261117788a179048567a8ba0179e3c88e7b44a (diff)
parentcd98097104a7321e3fe1bd5b05bf782b61c3bfc0 (diff)
Merge pull request #2036 from liruncong/const
rt_hw_interrupt_install函数name参数增加const限定
Diffstat (limited to 'bsp/qemu-vexpress-a9')
-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;