Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141557
b: refs/heads/master
c: b3e8fa9
h: refs/heads/master
i:
  141555: 59dc71e
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 0c810b6 commit b529bd7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: a27872bf7b3fc4ac7ddb561662cf7eb06e8b3895
refs/heads/master: b3e8fa97c454246be2bc6f4ddf20951c5b74bc22
8 changes: 4 additions & 4 deletions trunk/drivers/staging/comedi/drivers/amplc_pci230.c
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ enum {
* Board descriptions for the two boards supported.
*/

typedef struct pci230_board_struct {
struct pci230_board {
const char *name;
unsigned short id;
int ai_chans;
Expand All @@ -452,8 +452,8 @@ typedef struct pci230_board_struct {
int ao_bits;
int have_dio;
unsigned int min_hwver; /* Minimum hardware version supported. */
} pci230_board;
static const pci230_board pci230_boards[] = {
};
static const struct pci230_board pci230_boards[] = {
{
name: "pci230+",
id: PCI_DEVICE_ID_PCI230,
Expand Down Expand Up @@ -511,7 +511,7 @@ MODULE_DEVICE_TABLE(pci, pci230_pci_table);
* Useful for shorthand access to the particular board structure
*/
#define n_pci230_boards (sizeof(pci230_boards)/sizeof(pci230_boards[0]))
#define thisboard ((const pci230_board *)dev->board_ptr)
#define thisboard ((const struct pci230_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

0 comments on commit b529bd7

Please sign in to comment.