mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 13:46:26 +08:00
GRSPW_PKT: fix build warnings
This commit is contained in:
@@ -551,6 +551,9 @@ extern void grspw_dma_config_read(void *c, struct grspw_dma_config *cfg);
|
||||
extern void grspw_dma_stats_read(void *c, struct grspw_dma_stats *sts);
|
||||
extern void grspw_dma_stats_clr(void *c);
|
||||
|
||||
/* Register GRSPW packet driver to Driver Manager */
|
||||
void grspw2_register_drv (void);
|
||||
|
||||
/*** GRSPW SpaceWire Packet List Handling Routines ***/
|
||||
|
||||
static inline void grspw_list_clr(struct grspw_list *list)
|
||||
|
||||
@@ -2434,7 +2434,7 @@ static void grspw_work_dma_func(struct grspw_dma_priv *dma)
|
||||
/* Work task is receiving work for the work message queue posted from
|
||||
* the ISR.
|
||||
*/
|
||||
void grspw_work_func(rtems_task_argument unused)
|
||||
static void grspw_work_func(rtems_task_argument unused)
|
||||
{
|
||||
rtems_status_code status;
|
||||
unsigned int message;
|
||||
|
||||
Reference in New Issue
Block a user