diff options
| author | Bernard Xiong <[email protected]> | 2018-12-06 06:04:11 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-12-06 06:04:11 +0800 |
| commit | 27cd03d4546a245d4d11d3b25eeda31b91815b69 (patch) | |
| tree | 1d1f87c7d5456b39547084b190889186d07a0336 /bsp | |
| parent | 51261117788a179048567a8ba0179e3c88e7b44a (diff) | |
| parent | cd98097104a7321e3fe1bd5b05bf782b61c3bfc0 (diff) | |
Merge pull request #2036 from liruncong/const
rt_hw_interrupt_install函数name参数增加const限定
Diffstat (limited to 'bsp')
| -rw-r--r-- | bsp/allwinner_tina/libcpu/interrupt.c | 2 | ||||
| -rw-r--r-- | bsp/allwinner_tina/libcpu/interrupt.h | 2 | ||||
| -rw-r--r-- | bsp/asm9260t/platform/interrupt.c | 2 | ||||
| -rw-r--r-- | bsp/at91sam9260/platform/interrupt.c | 2 | ||||
| -rw-r--r-- | bsp/dm365/platform/interrupt.c | 2 | ||||
| -rw-r--r-- | bsp/fh8620/drivers/interrupt.c | 2 | ||||
| -rw-r--r-- | bsp/fh8620/drivers/interrupt.h | 2 | ||||
| -rw-r--r-- | bsp/gkipc/armv6/interrupt.c | 2 | ||||
| -rw-r--r-- | bsp/hifive1/drivers/interrupt.c | 2 | ||||
| -rw-r--r-- | bsp/hifive1/drivers/interrupt.h | 2 | ||||
| -rw-r--r-- | bsp/imx6sx/cortex-a9/cpu/interrupt.c | 2 | ||||
| -rw-r--r-- | bsp/qemu-vexpress-a9/cpu/interrupt.c | 2 | ||||
| -rw-r--r-- | bsp/qemu-vexpress-gemini/cpu/interrupt.c | 2 | ||||
| -rw-r--r-- | bsp/raspi2/cpu/interrupt.c | 2 |
14 files changed, 14 insertions, 14 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__ */ diff --git a/bsp/asm9260t/platform/interrupt.c b/bsp/asm9260t/platform/interrupt.c index 20b8b62e00..6121203c23 100644 --- a/bsp/asm9260t/platform/interrupt.c +++ b/bsp/asm9260t/platform/interrupt.c @@ -151,7 +151,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/at91sam9260/platform/interrupt.c b/bsp/at91sam9260/platform/interrupt.c index b6231e3f03..7a83fca494 100644 --- a/bsp/at91sam9260/platform/interrupt.c +++ b/bsp/at91sam9260/platform/interrupt.c @@ -319,7 +319,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/dm365/platform/interrupt.c b/bsp/dm365/platform/interrupt.c index 7e8772ed6e..eee5709da0 100644 --- a/bsp/dm365/platform/interrupt.c +++ b/bsp/dm365/platform/interrupt.c @@ -253,7 +253,7 @@ 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) { rt_isr_handler_t old_handler = RT_NULL; 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_ */ diff --git a/bsp/gkipc/armv6/interrupt.c b/bsp/gkipc/armv6/interrupt.c index dc86fe5466..0eb03c9b2c 100644 --- a/bsp/gkipc/armv6/interrupt.c +++ b/bsp/gkipc/armv6/interrupt.c @@ -97,7 +97,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/hifive1/drivers/interrupt.c b/bsp/hifive1/drivers/interrupt.c index 5acd7f7167..30c5279a62 100644 --- a/bsp/hifive1/drivers/interrupt.c +++ b/bsp/hifive1/drivers/interrupt.c @@ -110,7 +110,7 @@ void rt_hw_interrupt_ack(rt_uint32_t fiq_irq, rt_uint32_t id) * @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/hifive1/drivers/interrupt.h b/bsp/hifive1/drivers/interrupt.h index 3266f881d7..506634e667 100644 --- a/bsp/hifive1/drivers/interrupt.h +++ b/bsp/hifive1/drivers/interrupt.h @@ -32,6 +32,6 @@ void rt_hw_interrupt_init(void); rt_uint32_t rt_hw_interrupt_get_active(rt_uint32_t fiq_irq); void rt_hw_interrupt_ack(rt_uint32_t fiq_irq, rt_uint32_t id); 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 diff --git a/bsp/imx6sx/cortex-a9/cpu/interrupt.c b/bsp/imx6sx/cortex-a9/cpu/interrupt.c index 3934c84aaf..fb6e3ff3e0 100644 --- a/bsp/imx6sx/cortex-a9/cpu/interrupt.c +++ b/bsp/imx6sx/cortex-a9/cpu/interrupt.c @@ -110,7 +110,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; diff --git a/bsp/qemu-vexpress-a9/cpu/interrupt.c b/bsp/qemu-vexpress-a9/cpu/interrupt.c index febf86a66e..d553188e93 100644 --- a/bsp/qemu-vexpress-a9/cpu/interrupt.c +++ b/bsp/qemu-vexpress-a9/cpu/interrupt.c @@ -93,7 +93,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; diff --git a/bsp/qemu-vexpress-gemini/cpu/interrupt.c b/bsp/qemu-vexpress-gemini/cpu/interrupt.c index a189566222..889f74b5ca 100644 --- a/bsp/qemu-vexpress-gemini/cpu/interrupt.c +++ b/bsp/qemu-vexpress-gemini/cpu/interrupt.c @@ -108,7 +108,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; 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; |
