Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354325
b: refs/heads/master
c: 61f828e
h: refs/heads/master
i:
  354323: f0ea5c9
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Feb 4, 2013
1 parent 72d871d commit 3c39572
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 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: 41722460b70763eea69a76b4eb743b7295dfaa62
refs/heads/master: 61f828ec59e949379ce9e00a99785c1d395bc9e0
11 changes: 0 additions & 11 deletions trunk/drivers/staging/comedi/drivers/ni_daq_dio24.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,25 +83,14 @@ static const struct dio24_board_struct dio24_boards[] = {
},
};

struct dio24_private {

int data; /* number of data points left to be taken */
};

static int dio24_attach(struct comedi_device *dev, struct comedi_devconfig *it)
{
const struct dio24_board_struct *thisboard = comedi_board(dev);
struct dio24_private *devpriv;
struct comedi_subdevice *s;
unsigned long iobase = 0;
struct pcmcia_device *link;
int ret;

devpriv = kzalloc(sizeof(*devpriv), GFP_KERNEL);
if (!devpriv)
return -ENOMEM;
dev->private = devpriv;

/* get base address, irq etc. based on bustype */
switch (thisboard->bustype) {
case pcmcia_bustype:
Expand Down

0 comments on commit 3c39572

Please sign in to comment.