Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141607
b: refs/heads/master
c: fa11f7a
h: refs/heads/master
i:
  141605: a5c1f79
  141603: 57dfea4
  141599: 4c0925b
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 89478da commit fe4a44c
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: c14e9208359c615f2e565277a607237635a1e413
refs/heads/master: fa11f7a978b9b93f46408ead81dba035828c1ff9
10 changes: 6 additions & 4 deletions trunk/drivers/staging/comedi/drivers/fl512.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ Configuration options:
#include <linux/ioport.h>

#define FL512_SIZE 16 /* the size of the used memory */
typedef struct {
struct fl512_private {

short ao_readback[2];
} fl512_private;
#define devpriv ((fl512_private *) dev->private)
};

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

static const struct comedi_lrange range_fl512 = { 4, {
BIP_RANGE(0.5),
Expand Down Expand Up @@ -138,7 +140,7 @@ static int fl512_attach(struct comedi_device * dev, struct comedi_devconfig * it
}
dev->iobase = iobase;
dev->board_name = "fl512";
if (alloc_private(dev, sizeof(fl512_private)) < 0)
if (alloc_private(dev, sizeof(struct fl512_private)) < 0)
return -ENOMEM;

#if DEBUG
Expand Down

0 comments on commit fe4a44c

Please sign in to comment.