summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorliruncong <[email protected]>2018-12-05 20:42:17 +0800
committerliruncong <[email protected]>2018-12-05 20:44:05 +0800
commitcd98097104a7321e3fe1bd5b05bf782b61c3bfc0 (patch)
tree749a84a08e41a809e4cdc0ce2ee8e848f3c3b0d1 /bsp
parent0844ba3c1749b5d8e1a6b28dde0efd44fc90b278 (diff)
[bsp/raspi2]rt_hw_interrupt_install函数name参数增加const限定
Diffstat (limited to 'bsp')
-rw-r--r--bsp/raspi2/cpu/interrupt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/raspi2/cpu/interrupt.c b/bsp/raspi2/cpu/interrupt.c
index b9f0a00dd7..d502977c3e 100644
--- a/bsp/raspi2/cpu/interrupt.c
+++ b/bsp/raspi2/cpu/interrupt.c
@@ -114,7 +114,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;