Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141567
b: refs/heads/master
c: cfee7b9
h: refs/heads/master
i:
  141565: e832399
  141563: ede6962
  141559: 7fb86ee
  141551: c45e377
  141535: 7970a4c
  141503: 8556f76
  141439: c2d9fe7
  141311: b9f0a2a
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 53a7cf1 commit 314dd18
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fe7858af4f04d6ea5d18a513433846c63c70d0ec
refs/heads/master: cfee7b998b2407f5ee53d76bae9e2805baf6dbb4
8 changes: 4 additions & 4 deletions trunk/drivers/staging/comedi/drivers/cb_pcimdas.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ See http://www.measurementcomputing.com/PDFManuals/pcim-das1602_16.pdf for more
#define RESID_COUNT_L 14

/* Board description */
typedef struct cb_pcimdas_board_struct {
struct cb_pcimdas_board {
const char *name;
unsigned short device_id;
int ai_se_chans; // Inputs in single-ended mode
Expand All @@ -98,9 +98,9 @@ typedef struct cb_pcimdas_board_struct {
int dio_bits; // number of dio bits
int has_dio; // has DIO
const struct comedi_lrange *ranges;
} cb_pcimdas_board;
};

static const cb_pcimdas_board cb_pcimdas_boards[] = {
static const struct cb_pcimdas_board cb_pcimdas_boards[] = {
{
name: "PCIM-DAS1602/16",
device_id:0x56,
Expand Down Expand Up @@ -134,7 +134,7 @@ MODULE_DEVICE_TABLE(pci, cb_pcimdas_pci_table);
/*
* Useful for shorthand access to the particular board structure
*/
#define thisboard ((const cb_pcimdas_board *)dev->board_ptr)
#define thisboard ((const struct cb_pcimdas_board *)dev->board_ptr)

/* this structure is for data unique to this hardware driver. If
several hardware drivers keep similar information in this structure,
Expand Down

0 comments on commit 314dd18

Please sign in to comment.