Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141576
b: refs/heads/master
c: b365368
h: refs/heads/master
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 4efb175 commit 671ed5f
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: 9da18ff8c352c8827abee8ebd8570d8bf2767ebb
refs/heads/master: b36536816e1f34b2be1da9edb78e8b55bc414081
8 changes: 4 additions & 4 deletions trunk/drivers/staging/comedi/drivers/daqboard2000.c
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ static DEFINE_PCI_DEVICE_TABLE(daqboard2000_pci_table) = {

MODULE_DEVICE_TABLE(pci, daqboard2000_pci_table);

typedef struct {
struct daqboard2000_private {
enum {
card_daqboard_2000
} card;
Expand All @@ -334,9 +334,9 @@ typedef struct {
void *plx;
int got_regions;
unsigned int ao_readback[2];
} daqboard2000_private;
};

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

static void writeAcqScanListEntry(struct comedi_device * dev, u16 entry)
{
Expand Down Expand Up @@ -731,7 +731,7 @@ static int daqboard2000_attach(struct comedi_device * dev, struct comedi_devconf
bus = it->options[0];
slot = it->options[1];

result = alloc_private(dev, sizeof(daqboard2000_private));
result = alloc_private(dev, sizeof(struct daqboard2000_private));
if (result < 0) {
return -ENOMEM;
}
Expand Down

0 comments on commit 671ed5f

Please sign in to comment.