From 9c347d145e088e747011096217295228df57c536 Mon Sep 17 00:00:00 2001 From: Bill Pemberton Date: Thu, 19 Mar 2009 17:59:02 -0400 Subject: [PATCH] --- yaml --- r: 141686 b: refs/heads/master c: 50792813130b94a64e34b89cd2cbfddeb85b7518 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/staging/comedi/drivers/ni_660x.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index bb1afc81f228..fa704bcf1c8b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 251411cf05f3e7630f600a89f51fe9a82da967f8 +refs/heads/master: 50792813130b94a64e34b89cd2cbfddeb85b7518 diff --git a/trunk/drivers/staging/comedi/drivers/ni_660x.c b/trunk/drivers/staging/comedi/drivers/ni_660x.c index 44036069a548..dabafa641e7e 100644 --- a/trunk/drivers/staging/comedi/drivers/ni_660x.c +++ b/trunk/drivers/staging/comedi/drivers/ni_660x.c @@ -379,13 +379,13 @@ static const unsigned GPCT_OFFSET[2] = { 0x0, 0x800 }; /* First chip is at base- 0x00, etc. */ /* Board description*/ -typedef struct { +struct ni_660x_board { unsigned short dev_id; /* `lspci` will show you this */ const char *name; unsigned n_chips; /* total number of TIO chips */ -} ni_660x_board; +}; -static const ni_660x_board ni_660x_boards[] = { +static const struct ni_660x_board ni_660x_boards[] = { { dev_id: 0x2c60, name: "PCI-6601", @@ -439,7 +439,7 @@ static inline ni_660x_private *private(struct comedi_device * dev) } /* initialized in ni_660x_find_device() */ -static inline const ni_660x_board *board(struct comedi_device * dev) +static inline const struct ni_660x_board *board(struct comedi_device * dev) { return dev->board_ptr; }