summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliruncong <[email protected]>2018-12-05 20:41:22 +0800
committerliruncong <[email protected]>2018-12-05 20:43:59 +0800
commit9f86a17e7b670afbdfb62a62362b5ca8077e0fee (patch)
treefd81b5487113de1a69679535d22cdcf844376165
parentfedc5737686aee91c0971b4de756c1fdd71f478c (diff)
[bsp/imx6sx]rt_hw_interrupt_install函数name参数增加const限定
-rw-r--r--bsp/imx6sx/cortex-a9/cpu/interrupt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/imx6sx/cortex-a9/cpu/interrupt.c b/bsp/imx6sx/cortex-a9/cpu/interrupt.c
index 3934c84aaf..fb6e3ff3e0 100644
--- a/bsp/imx6sx/cortex-a9/cpu/interrupt.c
+++ b/bsp/imx6sx/cortex-a9/cpu/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;