diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2009-03-16 22:17:54 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-03 14:54:10 -0700 |
commit | 8532530040c05ab60e7d83c705713ef2629cd3bb (patch) | |
tree | 85c4b7b1790c300b24d1dd97363df684bc32dae4 /drivers | |
parent | b3fb588d463c575706fe80e9c30bf4b1c7702034 (diff) |
Staging: comedi: Remove dnp_private_data typedef
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/comedi/drivers/ssv_dnp.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/staging/comedi/drivers/ssv_dnp.c b/drivers/staging/comedi/drivers/ssv_dnp.c index 8965df7a93cb..098b7b098828 100644 --- a/drivers/staging/comedi/drivers/ssv_dnp.c +++ b/drivers/staging/comedi/drivers/ssv_dnp.c @@ -72,9 +72,11 @@ static const dnp_board dnp_boards[] = { /* we only support one DNP 'board' */ #define thisboard ((const dnp_board *)dev->board_ptr) /* This structure is for data unique to the DNP driver --------------------- */ -typedef struct { +struct dnp_private_data { + // -} dnp_private_data; +}; + /* Shorthand macro for faster access to the private data ------------------- */ #define devpriv ((dnp_private *)dev->private) @@ -131,7 +133,7 @@ static int dnp_attach(struct comedi_device * dev, struct comedi_devconfig * it) /* Allocate the private structure area. alloc_private() is a convenient */ /* macro defined in comedidev.h. */ - if (alloc_private(dev, sizeof(dnp_private_data)) < 0) + if (alloc_private(dev, sizeof(struct dnp_private_data)) < 0) return -ENOMEM; /* Allocate the subdevice structures. alloc_subdevice() is a convenient */ |