summaryrefslogtreecommitdiff
path: root/libcpu
diff options
context:
space:
mode:
authorliruncong <[email protected]>2018-12-05 20:36:34 +0800
committerliruncong <[email protected]>2018-12-05 20:36:34 +0800
commit96691760dcc011ce4f22ca0b4def1dbb7fb75f9e (patch)
tree14e59fa7bb6d4852bee2ac3bdda8c3204cbde360 /libcpu
parent7be87217b5c99a09ba9e8e7f8ad7fe4044288ae3 (diff)
[libcpu/arm/realview-a8-vmm]rt_hw_interrupt_install函数name参数增加const限定
Diffstat (limited to 'libcpu')
-rw-r--r--libcpu/arm/realview-a8-vmm/interrupt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/arm/realview-a8-vmm/interrupt.c b/libcpu/arm/realview-a8-vmm/interrupt.c
index 05998d2234..5ef0bdc460 100644
--- a/libcpu/arm/realview-a8-vmm/interrupt.c
+++ b/libcpu/arm/realview-a8-vmm/interrupt.c
@@ -103,7 +103,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;