diff options
| author | liruncong <[email protected]> | 2018-12-05 20:38:03 +0800 |
|---|---|---|
| committer | liruncong <[email protected]> | 2018-12-05 20:43:33 +0800 |
| commit | 33c6a9c79598f94bc2ee33fd4762bdcb863e768d (patch) | |
| tree | 4ae32be2da2aee5ba9d67fbd23ad2cf58e6ff458 | |
| parent | 2ce284c4b3d296cf3881032c96324efcc46668f6 (diff) | |
[libcpu/mips/longson_1c]rt_hw_interrupt_install函数name参数增加const限定
| -rw-r--r-- | libcpu/mips/loongson_1c/interrupt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/mips/loongson_1c/interrupt.c b/libcpu/mips/loongson_1c/interrupt.c index cc0b8e4e9c..407580d89e 100644 --- a/libcpu/mips/loongson_1c/interrupt.c +++ b/libcpu/mips/loongson_1c/interrupt.c @@ -112,7 +112,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; |
