Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141642
b: refs/heads/master
c: 201007e
h: refs/heads/master
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent cc492e1 commit 63aa34e
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: 9335f2613b6beca0f3f3e20ce5a550d1ffe66aa2
refs/heads/master: 201007e8bc7b3e94be823eda5a684199152410d1
8 changes: 4 additions & 4 deletions trunk/drivers/staging/comedi/drivers/rti802.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ static struct comedi_driver driver_rti802 = {

COMEDI_INITCLEANUP(driver_rti802);

typedef struct {
struct rti802_private {
enum {
dac_2comp, dac_straight
} dac_coding[8];
const struct comedi_lrange *range_type_list[8];
unsigned int ao_readback[8];
} rti802_private;
};

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

static int rti802_ao_insn_read(struct comedi_device * dev, struct comedi_subdevice * s,
struct comedi_insn * insn, unsigned int * data)
Expand Down Expand Up @@ -113,7 +113,7 @@ static int rti802_attach(struct comedi_device * dev, struct comedi_devconfig * i
dev->board_name = "rti802";

if (alloc_subdevices(dev, 1) < 0
|| alloc_private(dev, sizeof(rti802_private))) {
|| alloc_private(dev, sizeof(struct rti802_private))) {
return -ENOMEM;
}

Expand Down

0 comments on commit 63aa34e

Please sign in to comment.