diff options
| author | liruncong <[email protected]> | 2018-12-05 20:37:54 +0800 |
|---|---|---|
| committer | liruncong <[email protected]> | 2018-12-05 20:43:26 +0800 |
| commit | 2ce284c4b3d296cf3881032c96324efcc46668f6 (patch) | |
| tree | 2f78ec816ae7bc183358ed77f5aa814bb8eb28ca | |
| parent | bef3256db56398214dd651e7e7b26f4d60274123 (diff) | |
[libcpu/mips/longson_1b]rt_hw_interrupt_install函数name参数增加const限定
| -rw-r--r-- | libcpu/mips/loongson_1b/interrupt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/mips/loongson_1b/interrupt.c b/libcpu/mips/loongson_1b/interrupt.c index be65da914c..998d1e4918 100644 --- a/libcpu/mips/loongson_1b/interrupt.c +++ b/libcpu/mips/loongson_1b/interrupt.c @@ -96,7 +96,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; |
