summaryrefslogtreecommitdiff
path: root/libcpu
diff options
context:
space:
mode:
authorliruncong <[email protected]>2018-12-05 20:37:02 +0800
committerliruncong <[email protected]>2018-12-05 20:42:54 +0800
commit3e05f24608d63862cbbeed0ea36b4b8522aa1902 (patch)
tree3fd7e51f2841d4d694083f05b8e19b0145d16f1d /libcpu
parent46c5c8267ac2c75d525b679f264eaf3e9b4e34d2 (diff)
[libcpu/arm/sep4020]rt_hw_interrupt_install函数name参数增加const限定
Diffstat (limited to 'libcpu')
-rw-r--r--libcpu/arm/sep4020/interrupt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/arm/sep4020/interrupt.c b/libcpu/arm/sep4020/interrupt.c
index f688286d19..ebc9c9625b 100644
--- a/libcpu/arm/sep4020/interrupt.c
+++ b/libcpu/arm/sep4020/interrupt.c
@@ -107,7 +107,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;