diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2009-03-16 22:06:20 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-03 14:53:58 -0700 |
commit | 0707bb04be89b18ee83b5a997e36cc585f0b988d (patch) | |
tree | f3e5a2f78592ffdf461bfb5dff3814dbb8d486ea /drivers/staging/comedi/drivers/dt282x.c | |
parent | 063db04b8901c5cf84c552a5053748d183d34e61 (diff) | |
download | kernel_samsung_smdk4412-0707bb04be89b18ee83b5a997e36cc585f0b988d.zip kernel_samsung_smdk4412-0707bb04be89b18ee83b5a997e36cc585f0b988d.tar.gz kernel_samsung_smdk4412-0707bb04be89b18ee83b5a997e36cc585f0b988d.tar.bz2 |
Staging: comedi: Remove comedi_devconfig typedef
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/comedi/drivers/dt282x.c')
-rw-r--r-- | drivers/staging/comedi/drivers/dt282x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/comedi/drivers/dt282x.c b/drivers/staging/comedi/drivers/dt282x.c index 1a74f31..1cc0e3b 100644 --- a/drivers/staging/comedi/drivers/dt282x.c +++ b/drivers/staging/comedi/drivers/dt282x.c @@ -394,7 +394,7 @@ typedef struct { if(_i){b} \ }while(0) -static int dt282x_attach(struct comedi_device * dev, comedi_devconfig * it); +static int dt282x_attach(struct comedi_device * dev, struct comedi_devconfig * it); static int dt282x_detach(struct comedi_device * dev); static struct comedi_driver driver_dt282x = { driver_name:"dt282x", @@ -1240,7 +1240,7 @@ enum { opt_iobase = 0, opt_irq, opt_dma1, opt_dma2, /* i/o base, irq, dma channe 9 ao0 0=±10 V, 1=0-10 V, 2=±5 V, 3=0-5 V, 4=±2.5 V 10 ao1 0=±10 V, 1=0-10 V, 2=±5 V, 3=0-5 V, 4=±2.5 V */ -static int dt282x_attach(struct comedi_device * dev, comedi_devconfig * it) +static int dt282x_attach(struct comedi_device * dev, struct comedi_devconfig * it) { int i, irq; int ret; |