summaryrefslogtreecommitdiff
path: root/libcpu/ia32
diff options
context:
space:
mode:
authorliruncong <[email protected]>2018-12-05 20:37:36 +0800
committerliruncong <[email protected]>2018-12-05 20:43:05 +0800
commitbef3256db56398214dd651e7e7b26f4d60274123 (patch)
tree4775490c09bcb67d4f159bd10e90b7d9808ecba0 /libcpu/ia32
parent849421709bfcde04cdd37e9cb37a680e79bb29e1 (diff)
[libcpu/arm/ia32]rt_hw_interrupt_install函数name参数增加const限定
Diffstat (limited to 'libcpu/ia32')
-rw-r--r--libcpu/ia32/interrupt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/ia32/interrupt.c b/libcpu/ia32/interrupt.c
index 4d86d593df..e620cbe76c 100644
--- a/libcpu/ia32/interrupt.c
+++ b/libcpu/ia32/interrupt.c
@@ -131,7 +131,7 @@ void rt_hw_interrupt_mask(int vector)
rt_isr_handler_t rt_hw_interrupt_install(int vector,
rt_isr_handler_t handler,
void *param,
- char *name)
+ const char *name)
{
rt_isr_handler_t old_handler = RT_NULL;