forked from Imagelibrary/rtems
libbsp/shared/vmeUniverse: Fix warnings
This commit is contained in:
@@ -297,6 +297,11 @@ BSP_VMEDmaListRefresh(BSP_VMEDmaListDescriptor anchor);
|
||||
int
|
||||
BSP_VMEDmaListStart(int channel, BSP_VMEDmaListDescriptor list);
|
||||
|
||||
#ifdef DEBUG
|
||||
void
|
||||
BSP_VMEDmaListDump(BSP_VMEDmaListDescriptor p);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -52,10 +52,11 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#define DEBUG
|
||||
#include <bsp/VMEDMA.h>
|
||||
#include <bsp/bspVmeDmaList.h>
|
||||
#include "bspVmeDmaListP.h"
|
||||
|
||||
#define DEBUG
|
||||
|
||||
typedef struct VMEDmaListNodeRec_ {
|
||||
VMEDmaListNode p, n; /* linkage */
|
||||
@@ -283,7 +284,7 @@ VMEDmaListNode d = p;
|
||||
}
|
||||
|
||||
BSP_VMEDmaListDescriptor
|
||||
BSP_VMEDmaDescriptorPrev(BSP_VMEDmaListDescriptor p)
|
||||
BSP_VMEDmaListDescriptorPrev(BSP_VMEDmaListDescriptor p)
|
||||
{
|
||||
VMEDmaListNode d = p;
|
||||
return d->p;
|
||||
|
||||
@@ -312,7 +312,7 @@ va_list ap;
|
||||
va_end(ap);
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
vmeUniverseFindPciBase(
|
||||
int instance,
|
||||
volatile LERegister **pbase
|
||||
|
||||
Reference in New Issue
Block a user