summaryrefslogtreecommitdiff
path: root/libcpu
diff options
context:
space:
mode:
authorliruncong <[email protected]>2018-12-05 20:37:24 +0800
committerliruncong <[email protected]>2018-12-05 20:43:02 +0800
commit849421709bfcde04cdd37e9cb37a680e79bb29e1 (patch)
tree0fe3d1713a354b9d4d3f0b86dfeefd7e70277f2f /libcpu
parent3e05f24608d63862cbbeed0ea36b4b8522aa1902 (diff)
[libcpu/arm/zynq7000]rt_hw_interrupt_install函数name参数增加const限定
Diffstat (limited to 'libcpu')
-rw-r--r--libcpu/arm/zynq7000/interrupt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/arm/zynq7000/interrupt.c b/libcpu/arm/zynq7000/interrupt.c
index ce3fbc8dfb..451785523a 100644
--- a/libcpu/arm/zynq7000/interrupt.c
+++ b/libcpu/arm/zynq7000/interrupt.c
@@ -112,7 +112,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;