summaryrefslogtreecommitdiff
path: root/libcpu/arm
diff options
context:
space:
mode:
authorliruncong <[email protected]>2018-12-05 20:35:34 +0800
committerliruncong <[email protected]>2018-12-05 20:35:34 +0800
commitcbe07afabe33e72b9868445c3b2f35d6a2e336e7 (patch)
treeae2e6eb879dca7a3d1391fbceab849c33391a460 /libcpu/arm
parent8200137327316c9fb5791d4acc64fa09bcf29d18 (diff)
[libcpu/arm/cortex-a]rt_hw_interrupt_install函数name参数增加const限定
Diffstat (limited to 'libcpu/arm')
-rw-r--r--libcpu/arm/cortex-a/interrupt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/arm/cortex-a/interrupt.c b/libcpu/arm/cortex-a/interrupt.c
index 3934c84aaf..fb6e3ff3e0 100644
--- a/libcpu/arm/cortex-a/interrupt.c
+++ b/libcpu/arm/cortex-a/interrupt.c
@@ -110,7 +110,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;