Add sr_ prefix to 'struct samplerates'.

This commit is contained in:
Uwe Hermann 2011-02-08 18:07:19 +01:00
parent 8a2efef2d5
commit 60679b18e6
6 changed files with 7 additions and 7 deletions

View File

@ -56,7 +56,7 @@ static uint64_t supported_samplerates[] = {
0,
};
static struct samplerates samplerates = {
static struct sr_samplerates samplerates = {
KHZ(200),
MHZ(200),
0,

View File

@ -52,7 +52,7 @@ static uint64_t supported_samplerates[] = {
MHZ(10), MHZ(20), MHZ(50), MHZ(100), MHZ(200), 0
};
static struct samplerates samplerates = {
static struct sr_samplerates samplerates = {
100, MHZ(200), 0, supported_samplerates,
};

View File

@ -91,7 +91,7 @@ static int capabilities[] = {
0,
};
static struct samplerates samplerates = {
static struct sr_samplerates samplerates = {
10,
MHZ(200),
1,

View File

@ -86,7 +86,7 @@ static uint64_t supported_samplerates[] = {
0,
};
static struct samplerates samplerates = {
static struct sr_samplerates samplerates = {
KHZ(200),
MHZ(24),
0,

View File

@ -108,7 +108,7 @@ static uint64_t supported_samplerates[] = {
0,
};
static struct samplerates samplerates = {
static struct sr_samplerates samplerates = {
0, 0, 0,
supported_samplerates,
};

View File

@ -299,7 +299,7 @@ enum {
SR_DI_INSTANCE,
/* The number of probes connected to this device */
SR_DI_NUM_PROBES,
/* Samplerates supported by this device, (struct samplerates) */
/* Samplerates supported by this device, (struct sr_samplerates) */
SR_DI_SAMPLERATES,
/* Types of trigger supported, out of "01crf" (char *) */
SR_DI_TRIGGER_TYPES,
@ -314,7 +314,7 @@ enum {
* granularity, or is limited to a set of defined samplerates. Use either
* step or list, but not both.
*/
struct samplerates {
struct sr_samplerates {
uint64_t low;
uint64_t high;
uint64_t step;