};
#define devpriv ((struct pcmad_priv_struct *)dev->private)
-static int pcmad_attach(comedi_device * dev, comedi_devconfig * it);
-static int pcmad_detach(comedi_device * dev);
-static comedi_driver driver_pcmad = {
+static int pcmad_attach(struct comedi_device *dev, struct comedi_devconfig *it);
+static int pcmad_detach(struct comedi_device *dev);
+static struct comedi_driver driver_pcmad = {
driver_name:"pcmad",
module:THIS_MODULE,
attach:pcmad_attach,
#define TIMEOUT 100
-static int pcmad_ai_insn_read(comedi_device * dev, comedi_subdevice * s,
- comedi_insn * insn, lsampl_t * data)
+static int pcmad_ai_insn_read(struct comedi_device *dev, struct comedi_subdevice *s,
+ struct comedi_insn *insn, unsigned int *data)
{
int i;
int chan;
* 2 0=single ended 1=differential
* 3 0=straight binary 1=two's comp
*/
-static int pcmad_attach(comedi_device * dev, comedi_devconfig * it)
+static int pcmad_attach(struct comedi_device *dev, struct comedi_devconfig *it)
{
int ret;
- comedi_subdevice *s;
+ struct comedi_subdevice *s;
unsigned long iobase;
iobase = it->options[0];
return 0;
}
-static int pcmad_detach(comedi_device * dev)
+static int pcmad_detach(struct comedi_device *dev)
{
printk("comedi%d: pcmad: remove\n", dev->minor);