summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliruncong <[email protected]>2018-12-05 20:36:48 +0800
committerliruncong <[email protected]>2018-12-05 20:36:48 +0800
commit46c5c8267ac2c75d525b679f264eaf3e9b4e34d2 (patch)
tree29b8acd6624f4fd0870ba33270509d06f5acb148
parent96691760dcc011ce4f22ca0b4def1dbb7fb75f9e (diff)
[libcpu/arm/s3c24x0]rt_hw_interrupt_install函数name参数增加const限定
-rw-r--r--libcpu/arm/s3c24x0/interrupt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/arm/s3c24x0/interrupt.c b/libcpu/arm/s3c24x0/interrupt.c
index 10ff60b95a..8c7aebeb25 100644
--- a/libcpu/arm/s3c24x0/interrupt.c
+++ b/libcpu/arm/s3c24x0/interrupt.c
@@ -104,7 +104,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;