summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliruncong <[email protected]>2018-12-05 20:38:40 +0800
committerliruncong <[email protected]>2018-12-05 20:43:40 +0800
commitc7a1c1c1db491b9945b516a7fdba17b683a97dac (patch)
tree9e16420cb8728968b5a5157d9c52ea7b7fd70e77
parent2502114e3450a36e296675ad09572c3550ee30a6 (diff)
[libcpu/mips/sep6200]rt_hw_interrupt_install函数name参数增加const限定
-rw-r--r--libcpu/unicore32/sep6200/interrupt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/unicore32/sep6200/interrupt.c b/libcpu/unicore32/sep6200/interrupt.c
index 5d088f788a..31078320ea 100644
--- a/libcpu/unicore32/sep6200/interrupt.c
+++ b/libcpu/unicore32/sep6200/interrupt.c
@@ -199,7 +199,7 @@ void rt_hw_interrupt_umask(int irq)
* @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;