Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141647
b: refs/heads/master
c: 387c136
h: refs/heads/master
i:
  141645: 6e2e7d5
  141643: e3b896b
  141639: 6880b36
  141631: 414aaed
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 522f8b7 commit 1924711
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: e15849e54405152087cd343437747db8d931fcd7
refs/heads/master: 387c136adc72da7f06f37274822ad9c38f529156
12 changes: 6 additions & 6 deletions trunk/drivers/staging/comedi/drivers/pcmda12.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ Configuration Options:
/*
* Bords
*/
typedef struct pcmda12_board_struct {
struct pcmda12_board {
const char *name;
} pcmda12_board;
};

/* note these have no effect and are merely here for reference..
these are configured by jumpering the board! */
Expand All @@ -81,7 +81,7 @@ static const struct comedi_lrange pcmda12_ranges = {
}
};

static const pcmda12_board pcmda12_boards[] = {
static const struct pcmda12_board pcmda12_boards[] = {
{
name: "pcmda12",
},
Expand All @@ -90,7 +90,7 @@ static const pcmda12_board pcmda12_boards[] = {
/*
* Useful for shorthand access to the particular board structure
*/
#define thisboard ((const pcmda12_board *)dev->board_ptr)
#define thisboard ((const struct pcmda12_board *)dev->board_ptr)

struct pcmda12_private {

Expand Down Expand Up @@ -136,8 +136,8 @@ static struct comedi_driver driver = {
* devices are such boards.
*/
board_name:&pcmda12_boards[0].name,
offset:sizeof(pcmda12_board),
num_names:sizeof(pcmda12_boards) / sizeof(pcmda12_board),
offset:sizeof(struct pcmda12_board),
num_names:sizeof(pcmda12_boards) / sizeof(struct pcmda12_board),
};

static int ao_winsn(struct comedi_device * dev, struct comedi_subdevice * s,
Expand Down

0 comments on commit 1924711

Please sign in to comment.