GRSPW_PKT: fix build warnings

This commit is contained in:
Daniel Hellstrom
2015-04-17 01:10:24 +02:00
parent fd7eaa240b
commit b6292a0b22
2 changed files with 4 additions and 1 deletions
@@ -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;