Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325523
b: refs/heads/master
c: 0835192
h: refs/heads/master
i:
  325521: 680d1e9
  325519: e354b52
v: v3
  • Loading branch information
Ian Abbott authored and Greg Kroah-Hartman committed Sep 26, 2012
1 parent 9d2107f commit 34bfb4d
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: 9d54814f31ea4f577db2b2d49c00b2f9bcb0c124
refs/heads/master: 08351926d23577711c48ef63168b1255702c6c77
12 changes: 6 additions & 6 deletions trunk/drivers/staging/comedi/drivers/ni_daq_700.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ struct daq700_board {
#define DIO_W 0x04
#define DIO_R 0x05

static int subdev_700_insn(struct comedi_device *dev,
struct comedi_subdevice *s, struct comedi_insn *insn,
unsigned int *data)
static int daq700_dio_insn_bits(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_insn *insn, unsigned int *data)
{
if (data[0]) {
s->state &= ~data[0];
Expand All @@ -76,7 +76,7 @@ static int subdev_700_insn(struct comedi_device *dev,
return insn->n;
}

static int subdev_700_insn_config(struct comedi_device *dev,
static int daq700_dio_insn_config(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_insn *insn, unsigned int *data)
{
Expand Down Expand Up @@ -127,8 +127,8 @@ static int daq700_attach(struct comedi_device *dev, struct comedi_devconfig *it)
s->n_chan = 16;
s->range_table = &range_digital;
s->maxdata = 1;
s->insn_bits = subdev_700_insn;
s->insn_config = subdev_700_insn_config;
s->insn_bits = daq700_dio_insn_bits;
s->insn_config = daq700_dio_insn_config;

s->state = 0;
s->io_bits = 0x00ff;
Expand Down

0 comments on commit 34bfb4d

Please sign in to comment.