diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2009-03-16 22:07:03 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-03 14:53:58 -0700 |
commit | 3d393c865b745a37a53081203b49278476a47a56 (patch) | |
tree | 29f8a616bb5806cb6f22a92801a35ded8af6303e | |
parent | c1b31c44a38e2b5153193680e4bee4856b3307e1 (diff) |
Staging: comedi: Remove pci6208_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/adl_pci6208.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/comedi/drivers/adl_pci6208.c b/drivers/staging/comedi/drivers/adl_pci6208.c index 449cf87c477..f710f551820 100644 --- a/drivers/staging/comedi/drivers/adl_pci6208.c +++ b/drivers/staging/comedi/drivers/adl_pci6208.c @@ -99,13 +99,13 @@ MODULE_DEVICE_TABLE(pci, pci6208_pci_table); /* Will be initialized in pci6208_find device(). */ #define thisboard ((const struct pci6208_board *)dev->board_ptr) -typedef struct { +struct pci6208_private { int data; struct pci_dev *pci_dev; /* for a PCI device */ unsigned int ao_readback[2]; /* Used for AO readback */ -} pci6208_private; +}; -#define devpriv ((pci6208_private *)dev->private) +#define devpriv ((struct pci6208_private *)dev->private) static int pci6208_attach(struct comedi_device * dev, struct comedi_devconfig * it); static int pci6208_detach(struct comedi_device * dev); @@ -151,7 +151,7 @@ static int pci6208_attach(struct comedi_device * dev, struct comedi_devconfig * printk("comedi%d: pci6208: ", dev->minor); - retval = alloc_private(dev, sizeof(pci6208_private)); + retval = alloc_private(dev, sizeof(struct pci6208_private)); if (retval < 0) return retval; |