summaryrefslogtreecommitdiff
path: root/libcpu/arm/cortex-r4
diff options
context:
space:
mode:
authorliruncong <[email protected]>2018-12-05 20:35:43 +0800
committerliruncong <[email protected]>2018-12-05 20:35:43 +0800
commit8ce36092c50907d3d103e856c81eac8a79ea502c (patch)
treed692e57d640f2d807f50a6d68f8336c0874dfb60 /libcpu/arm/cortex-r4
parentcbe07afabe33e72b9868445c3b2f35d6a2e336e7 (diff)
[libcpu/arm/cortex-r4]rt_hw_interrupt_install函数name参数增加const限定
Diffstat (limited to 'libcpu/arm/cortex-r4')
-rw-r--r--libcpu/arm/cortex-r4/interrupt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/arm/cortex-r4/interrupt.c b/libcpu/arm/cortex-r4/interrupt.c
index 5b3ad1ccc1..30e14f5a2d 100644
--- a/libcpu/arm/cortex-r4/interrupt.c
+++ b/libcpu/arm/cortex-r4/interrupt.c
@@ -86,7 +86,7 @@ void rt_hw_interrupt_umask(int vector)
* @return the 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;