From 332dbfe0c3d94bc3ae26aa8e47744892e39ea31e Mon Sep 17 00:00:00 2001 From: liruncong Date: Wed, 5 Dec 2018 20:40:30 +0800 Subject: [PATCH] =?UTF-8?q?[bsp/fh8620]rt=5Fhw=5Finterrupt=5Finstall?= =?UTF-8?q?=E5=87=BD=E6=95=B0name=E5=8F=82=E6=95=B0=E5=A2=9E=E5=8A=A0const?= =?UTF-8?q?=E9=99=90=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/fh8620/drivers/interrupt.c | 2 +- bsp/fh8620/drivers/interrupt.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bsp/fh8620/drivers/interrupt.c b/bsp/fh8620/drivers/interrupt.c index a608b9a072..ab522fab70 100644 --- a/bsp/fh8620/drivers/interrupt.c +++ b/bsp/fh8620/drivers/interrupt.c @@ -169,7 +169,7 @@ void rt_hw_interrupt_umask(int irq) * @return old handler */ 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; diff --git a/bsp/fh8620/drivers/interrupt.h b/bsp/fh8620/drivers/interrupt.h index 575b0a5442..fd4283b95c 100644 --- a/bsp/fh8620/drivers/interrupt.h +++ b/bsp/fh8620/drivers/interrupt.h @@ -35,6 +35,6 @@ void rt_hw_interrupt_init(void); void rt_hw_interrupt_mask(int irq); void rt_hw_interrupt_umask(int irq); rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, - void *param, char *name); + void *param, const char *name); #endif /* INTERRUPT_H_ */