Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141553
b: refs/heads/master
c: 4beb86c
h: refs/heads/master
i:
  141551: c45e377
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 788f667 commit 4e4eedd
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: f1ee810a1383b623ec523edd521467a7b620a09a
refs/heads/master: 4beb86c25085f875935480aa0422e0a983a917f3
12 changes: 6 additions & 6 deletions trunk/drivers/staging/comedi/drivers/amplc_pc263.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ The state of the outputs can be read.
enum pc263_bustype { isa_bustype, pci_bustype };
enum pc263_model { pc263_model, pci263_model, anypci_model };

typedef struct pc263_board_struct {
struct pc263_board {
const char *name;
const char *fancy_name;
unsigned short devid;
enum pc263_bustype bustype;
enum pc263_model model;
} pc263_board;
static const pc263_board pc263_boards[] = {
};
static const struct pc263_board pc263_boards[] = {
{
name: "pc263",
fancy_name:"PC263",
Expand Down Expand Up @@ -112,7 +112,7 @@ MODULE_DEVICE_TABLE(pci, pc263_pci_table);
/*
* Useful for shorthand access to the particular board structure
*/
#define thisboard ((const pc263_board *)dev->board_ptr)
#define thisboard ((const struct pc263_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 @@ -140,8 +140,8 @@ static struct comedi_driver driver_amplc_pc263 = {
attach:pc263_attach,
detach:pc263_detach,
board_name:&pc263_boards[0].name,
offset:sizeof(pc263_board),
num_names:sizeof(pc263_boards) / sizeof(pc263_board),
offset:sizeof(struct pc263_board),
num_names:sizeof(pc263_boards) / sizeof(struct pc263_board),
};

static int pc263_request_region(unsigned minor, unsigned long from,
Expand Down

0 comments on commit 4e4eedd

Please sign in to comment.