summaryrefslogtreecommitdiff
path: root/libcpu
diff options
context:
space:
mode:
authorliruncong <[email protected]>2018-12-05 20:38:28 +0800
committerliruncong <[email protected]>2018-12-05 20:43:38 +0800
commit2502114e3450a36e296675ad09572c3550ee30a6 (patch)
treeea923a64f69741de770d51674a6a8855663868e7 /libcpu
parentda9bc3d677c0fbbbda7a9f4f42e5231de7b779b6 (diff)
[libcpu/mips/xburst]rt_hw_interrupt_install函数name参数增加const限定
Diffstat (limited to 'libcpu')
-rw-r--r--libcpu/mips/xburst/interrupt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/mips/xburst/interrupt.c b/libcpu/mips/xburst/interrupt.c
index 4d39c8f621..337646c735 100644
--- a/libcpu/mips/xburst/interrupt.c
+++ b/libcpu/mips/xburst/interrupt.c
@@ -95,7 +95,7 @@ void rt_hw_interrupt_umask(int vector)
* @return old handler
*/
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;