Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141541
b: refs/heads/master
c: 7475371
h: refs/heads/master
i:
  141539: c9d747d
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 92a044f commit f98d70e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 4cb133565aaf9b04f4fb6af5e5200982258b107c
refs/heads/master: 747537121d060557132ac82e7e37cae393e16dcc
10 changes: 5 additions & 5 deletions trunk/drivers/staging/comedi/drivers/aio_aio12_8.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,16 @@ Configuration Options:

#define DAC_ENABLE 0x18

typedef struct {
struct aio12_8_boardtype {
const char *name;
} board_type;
};

static const board_type board_types[] = {
static const struct aio12_8_boardtype board_types[] = {
{
name: "aio_aio12_8"},
};

#define thisboard ((const board_type *) dev->board_ptr)
#define thisboard ((const struct aio12_8_boardtype *) dev->board_ptr)

typedef struct {
unsigned int ao_readback[4];
Expand Down Expand Up @@ -220,7 +220,7 @@ static struct comedi_driver driver_aio_aio12_8 = {
detach:aio_aio12_8_detach,
board_name:&board_types[0].name,
num_names:1,
offset:sizeof(board_type),
offset:sizeof(struct aio12_8_boardtype),
};

COMEDI_INITCLEANUP(driver_aio_aio12_8);

0 comments on commit f98d70e

Please sign in to comment.