Skip to content

Commit af33226

Browse files
authored
Merge pull request #2135 from armink/lts-v3.1.x
Sync the code to v3.1.2
2 parents b7e2cd0 + 77623e8 commit af33226

File tree

55 files changed

+895
-236
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+895
-236
lines changed

bsp/allwinner_tina/libcpu/interrupt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ void rt_hw_interrupt_umask(int vector)
132132
* @return old handler
133133
*/
134134
rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler,
135-
void *param, char *name)
135+
void *param, const char *name)
136136
{
137137
rt_isr_handler_t old_handler = RT_NULL;
138138
rt_uint32_t pend_addr, en_addr, data;

bsp/allwinner_tina/libcpu/interrupt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,6 @@ typedef struct tina_intc *tina_intc_t;
102102
void rt_hw_interrupt_init(void);
103103
void rt_hw_interrupt_mask(int vector);
104104
void rt_hw_interrupt_umask(int vector);
105-
rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, void *param, char *name);
105+
rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, void *param, const char *name);
106106

107107
#endif /* __INTERRUPT_H__ */

bsp/asm9260t/platform/interrupt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ void rt_hw_interrupt_umask(int irq)
151151
* @return old handler
152152
*/
153153
rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler,
154-
void *param, char *name)
154+
void *param, const char *name)
155155
{
156156
rt_isr_handler_t old_handler = RT_NULL;
157157

bsp/at91sam9260/platform/interrupt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ void rt_hw_interrupt_umask(int irq)
319319
* @return old handler
320320
*/
321321
rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler,
322-
void *param, char *name)
322+
void *param, const char *name)
323323
{
324324
rt_isr_handler_t old_handler = RT_NULL;
325325

bsp/dm365/platform/interrupt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ void rt_hw_interrupt_umask(int irq)
253253
*/
254254

255255
rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler,
256-
void *param, char *name)
256+
void *param, const char *name)
257257
{
258258
rt_isr_handler_t old_handler = RT_NULL;
259259

bsp/fh8620/drivers/interrupt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ void rt_hw_interrupt_umask(int irq)
169169
* @return old handler
170170
*/
171171
rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler,
172-
void *param, char *name)
172+
void *param, const char *name)
173173
{
174174
rt_isr_handler_t old_handler = RT_NULL;
175175

bsp/fh8620/drivers/interrupt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ void rt_hw_interrupt_init(void);
3535
void rt_hw_interrupt_mask(int irq);
3636
void rt_hw_interrupt_umask(int irq);
3737
rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler,
38-
void *param, char *name);
38+
void *param, const char *name);
3939

4040
#endif /* INTERRUPT_H_ */

bsp/gkipc/armv6/interrupt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ void rt_hw_interrupt_umask(int irq)
9797
* @return old handler
9898
*/
9999
rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler,
100-
void *param, char *name)
100+
void *param, const char *name)
101101
{
102102
rt_isr_handler_t old_handler = RT_NULL;
103103

bsp/hifive1/drivers/interrupt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ void rt_hw_interrupt_ack(rt_uint32_t fiq_irq, rt_uint32_t id)
110110
* @return old handler
111111
*/
112112
rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler,
113-
void *param, char *name)
113+
void *param, const char *name)
114114
{
115115
rt_isr_handler_t old_handler = RT_NULL;
116116

bsp/hifive1/drivers/interrupt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ void rt_hw_interrupt_init(void);
3232
rt_uint32_t rt_hw_interrupt_get_active(rt_uint32_t fiq_irq);
3333
void rt_hw_interrupt_ack(rt_uint32_t fiq_irq, rt_uint32_t id);
3434
rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler,
35-
void *param, char *name);
35+
void *param, const char *name);
3636

3737
#endif

0 commit comments

Comments
 (0)