Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141578
b: refs/heads/master
c: 947a33f
h: refs/heads/master
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 2724507 commit 4d8cdcf
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: d8961467e60d42c1997fdf783fee4802c9fea8cc
refs/heads/master: 947a33fd2196209a1aa8f00de4068e8a09a19cd9
10 changes: 5 additions & 5 deletions trunk/drivers/staging/comedi/drivers/das16.c
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ static unsigned int das16_suggest_transfer_size(struct comedi_device * dev,

static void reg_dump(struct comedi_device * dev);

typedef struct das16_board_struct {
struct das16_board {
const char *name;
void *ai;
unsigned int ai_nbits;
Expand All @@ -371,9 +371,9 @@ typedef struct das16_board_struct {

unsigned int size;
unsigned int id;
} das16_board;
};

static const struct das16_board_struct das16_boards[] = {
static const struct das16_board das16_boards[] = {
{
name: "das-16",
ai: das16_ai_rinsn,
Expand Down Expand Up @@ -696,7 +696,7 @@ static const struct das16_board_struct das16_boards[] = {
#endif
};

#define n_das16_boards ((sizeof(das16_boards))/(sizeof(das16_board)))
#define n_das16_boards ((sizeof(das16_boards))/(sizeof(struct das16_board)))

static int das16_attach(struct comedi_device * dev, struct comedi_devconfig * it);
static int das16_detach(struct comedi_device * dev);
Expand Down Expand Up @@ -740,7 +740,7 @@ struct das16_private_struct {
volatile short timer_mode; // true if using timer mode
};
#define devpriv ((struct das16_private_struct *)(dev->private))
#define thisboard ((struct das16_board_struct *)(dev->board_ptr))
#define thisboard ((struct das16_board *)(dev->board_ptr))

static int das16_cmd_test(struct comedi_device * dev, struct comedi_subdevice * s,
struct comedi_cmd * cmd)
Expand Down

0 comments on commit 4d8cdcf

Please sign in to comment.