Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 317101
b: refs/heads/master
c: b740554
h: refs/heads/master
i:
  317099: a6194ed
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Jun 5, 2012
1 parent f1a50cf commit 6734b09
Show file tree
Hide file tree
Showing 2 changed files with 3 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: bf4683bdbdfafc02f5f4d3170efcd25ff9f00c6b
refs/heads/master: b74055465ce47c75b3ebf667c2ff0661828d7a11
5 changes: 2 additions & 3 deletions trunk/drivers/staging/comedi/drivers/aio_iiro_16.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ static const struct aio_iiro_16_board aio_iiro_16_boards[] = {
.do_ = 16},
};

#define thisboard ((const struct aio_iiro_16_board *) dev->board_ptr)

struct aio_iiro_16_private {
int data;
struct pci_dev *pci_dev;
Expand Down Expand Up @@ -106,12 +104,13 @@ static int aio_iiro_16_dio_insn_bits_read(struct comedi_device *dev,
static int aio_iiro_16_attach(struct comedi_device *dev,
struct comedi_devconfig *it)
{
const struct aio_iiro_16_board *board = comedi_board(dev);
int iobase;
struct comedi_subdevice *s;

printk(KERN_INFO "comedi%d: aio_iiro_16: ", dev->minor);

dev->board_name = thisboard->name;
dev->board_name = board->name;

iobase = it->options[0];

Expand Down

0 comments on commit 6734b09

Please sign in to comment.