diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2009-03-16 22:12:10 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-03 14:54:05 -0700 |
commit | b36536816e1f34b2be1da9edb78e8b55bc414081 (patch) | |
tree | e2aca634e1df20e9a00aacb63f9983d119d25fad | |
parent | 9da18ff8c352c8827abee8ebd8570d8bf2767ebb (diff) |
Staging: comedi: Remove daqboard2000_private typedef
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/comedi/drivers/daqboard2000.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/comedi/drivers/daqboard2000.c b/drivers/staging/comedi/drivers/daqboard2000.c index ae1f6145c565..3b8444f09f28 100644 --- a/drivers/staging/comedi/drivers/daqboard2000.c +++ b/drivers/staging/comedi/drivers/daqboard2000.c @@ -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; @@ -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) { @@ -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; } |