summaryrefslogtreecommitdiff
path: root/libcpu
diff options
context:
space:
mode:
authorliruncong <[email protected]>2018-12-05 20:35:02 +0800
committerliruncong <[email protected]>2018-12-05 20:35:02 +0800
commit2635cc1694035cbf992cee871b5a8ed5b68cdf84 (patch)
tree6a98557d1e47cdc1b8476162f03a10a04ac6f10e /libcpu
parentfe24d089f857ae7309cfe866edc1b7e23ff25dc8 (diff)
[libcpu/arm/am335x]rt_hw_interrupt_install函数name参数增加const限定
Diffstat (limited to 'libcpu')
-rw-r--r--libcpu/arm/am335x/interrupt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/arm/am335x/interrupt.c b/libcpu/arm/am335x/interrupt.c
index c10d13b86c..3acd868496 100644
--- a/libcpu/arm/am335x/interrupt.c
+++ b/libcpu/arm/am335x/interrupt.c
@@ -158,7 +158,7 @@ void rt_hw_interrupt_ack(int fiq_irq)
* @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;