Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141597
b: refs/heads/master
c: 38baea3
h: refs/heads/master
i:
  141595: 32ffac2
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent a918ac6 commit bb69096
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: c7b8bb98a46e475ae848642cf60160fc7135cd52
refs/heads/master: 38baea3abba76b48ff599e1c5b7eccc80b2a7e3d
12 changes: 6 additions & 6 deletions trunk/drivers/staging/comedi/drivers/dmm32at.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ static const struct comedi_lrange dmm32at_aoranges = {
* boards in this way is optional, and completely driver-dependent.
* Some drivers use arrays such as this, other do not.
*/
typedef struct dmm32at_board_struct {
struct dmm32at_board {
const char *name;
int ai_chans;
int ai_bits;
Expand All @@ -210,8 +210,8 @@ typedef struct dmm32at_board_struct {
const struct comedi_lrange *ao_ranges;
int have_dio;
int dio_chans;
} dmm32at_board;
static const dmm32at_board dmm32at_boards[] = {
};
static const struct dmm32at_board dmm32at_boards[] = {
{
name: "dmm32at",
ai_chans:32,
Expand All @@ -228,7 +228,7 @@ static const dmm32at_board dmm32at_boards[] = {
/*
* Useful for shorthand access to the particular board structure
*/
#define thisboard ((const dmm32at_board *)dev->board_ptr)
#define thisboard ((const struct dmm32at_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 Expand Up @@ -284,8 +284,8 @@ static struct comedi_driver driver_dmm32at = {
* devices are such boards.
*/
board_name:&dmm32at_boards[0].name,
offset:sizeof(dmm32at_board),
num_names:sizeof(dmm32at_boards) / sizeof(dmm32at_board),
offset:sizeof(struct dmm32at_board),
num_names:sizeof(dmm32at_boards) / sizeof(struct dmm32at_board),
};

/* prototypes for driver functions below */
Expand Down

0 comments on commit bb69096

Please sign in to comment.