Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141636
b: refs/heads/master
c: bf7f061
h: refs/heads/master
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent b9a7899 commit 933d52f
Show file tree
Hide file tree
Showing 2 changed files with 7 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: e1c8638f3fb47c25b8dba170aadc8e29619fcd67
refs/heads/master: bf7f0610c6c215fb8a8cd26b697902810ee5b9e9
10 changes: 6 additions & 4 deletions trunk/drivers/staging/comedi/drivers/pcl726.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,14 @@ static struct comedi_driver driver_pcl726 = {

COMEDI_INITCLEANUP(driver_pcl726);

typedef struct {
struct pcl726_private {

int bipolar[12];
const struct comedi_lrange *rangelist[12];
unsigned int ao_readback[12];
} pcl726_private;
#define devpriv ((pcl726_private *)dev->private)
};

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

static int pcl726_ao_insn(struct comedi_device * dev, struct comedi_subdevice * s,
struct comedi_insn * insn, unsigned int * data)
Expand Down Expand Up @@ -260,7 +262,7 @@ static int pcl726_attach(struct comedi_device * dev, struct comedi_devconfig * i

dev->board_name = this_board->name;

if ((ret = alloc_private(dev, sizeof(pcl726_private))) < 0)
if ((ret = alloc_private(dev, sizeof(struct pcl726_private))) < 0)
return -ENOMEM;

for (i = 0; i < 12; i++) {
Expand Down

0 comments on commit 933d52f

Please sign in to comment.