Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268813
b: refs/heads/master
c: 963ff77
h: refs/heads/master
i:
  268811: 99f446d
v: v3
  • Loading branch information
Jake Burton authored and Greg Kroah-Hartman committed Oct 17, 2011
1 parent 4287f04 commit 986231b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 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: 0bdd2b620794f4f8bddac620b774d7fbf879dcbc
refs/heads/master: 963ff7740d52586a0fb79f459abebf39997d3ae6
10 changes: 7 additions & 3 deletions trunk/drivers/staging/comedi/drivers/ni_atmio.c
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,9 @@ static const struct ni_board_struct ni_boards[] = {
}
};

static const int ni_irqpin[] =
{ -1, -1, -1, 0, 1, 2, -1, 3, -1, -1, 4, 5, 6, -1, -1, 7 };
static const int ni_irqpin[] = {
-1, -1, -1, 0, 1, 2, -1, 3, -1, -1, 4, 5, 6, -1, -1, 7
};

#define interrupt_pin(a) (ni_irqpin[(a)])

Expand All @@ -279,7 +280,10 @@ static const int ni_irqpin[] =

struct ni_private {
struct pnp_dev *isapnp_dev;
NI_PRIVATE_COMMON};
NI_PRIVATE_COMMON

};

#define devpriv ((struct ni_private *)dev->private)

/* How we access registers */
Expand Down

0 comments on commit 986231b

Please sign in to comment.