Staging: comedi: Add spaces after commas
[safe/jmp/linux-2.6] / drivers / staging / comedi / drivers / pcmad.c
index 9fd6242..1598669 100644 (file)
@@ -76,9 +76,9 @@ struct pcmad_priv_struct {
 };
 #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,
@@ -92,8 +92,8 @@ COMEDI_INITCLEANUP(driver_pcmad);
 
 #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;
@@ -126,10 +126,10 @@ static int pcmad_ai_insn_read(comedi_device * dev, comedi_subdevice * s,
  * 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];
@@ -159,7 +159,7 @@ static int pcmad_attach(comedi_device * dev, comedi_devconfig * it)
        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);