summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bsp/allwinner_tina/libcpu/interrupt.c2
-rw-r--r--bsp/allwinner_tina/libcpu/interrupt.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/bsp/allwinner_tina/libcpu/interrupt.c b/bsp/allwinner_tina/libcpu/interrupt.c
index af9b054da9..b32a331c60 100644
--- a/bsp/allwinner_tina/libcpu/interrupt.c
+++ b/bsp/allwinner_tina/libcpu/interrupt.c
@@ -132,7 +132,7 @@ void rt_hw_interrupt_umask(int vector)
* @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;
rt_uint32_t pend_addr, en_addr, data;
diff --git a/bsp/allwinner_tina/libcpu/interrupt.h b/bsp/allwinner_tina/libcpu/interrupt.h
index 5389f0655b..2292b794bd 100644
--- a/bsp/allwinner_tina/libcpu/interrupt.h
+++ b/bsp/allwinner_tina/libcpu/interrupt.h
@@ -102,6 +102,6 @@ typedef struct tina_intc *tina_intc_t;
void rt_hw_interrupt_init(void);
void rt_hw_interrupt_mask(int vector);
void rt_hw_interrupt_umask(int vector);
-rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, void *param, char *name);
+rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, void *param, const char *name);
#endif /* __INTERRUPT_H__ */