diff options
Diffstat (limited to 'drivers/staging/comedi/kcomedilib')
-rw-r--r-- | drivers/staging/comedi/kcomedilib/get.c | 14 | ||||
-rw-r--r-- | drivers/staging/comedi/kcomedilib/kcomedilib_main.c | 8 |
2 files changed, 11 insertions, 11 deletions
diff --git a/drivers/staging/comedi/kcomedilib/get.c b/drivers/staging/comedi/kcomedilib/get.c index 8237716..8890fcb 100644 --- a/drivers/staging/comedi/kcomedilib/get.c +++ b/drivers/staging/comedi/kcomedilib/get.c @@ -175,7 +175,7 @@ unsigned int comedi_get_buf_head_pos(void *d, unsigned int subdevice) { struct comedi_device *dev = (struct comedi_device *) d; struct comedi_subdevice *s = dev->subdevices + subdevice; - comedi_async *async; + struct comedi_async *async; async = s->async; if (async == NULL) @@ -188,7 +188,7 @@ int comedi_get_buffer_contents(void *d, unsigned int subdevice) { struct comedi_device *dev = (struct comedi_device *) d; struct comedi_subdevice *s = dev->subdevices + subdevice; - comedi_async *async; + struct comedi_async *async; unsigned int num_bytes; if (subdevice >= dev->n_subdevices) @@ -208,7 +208,7 @@ int comedi_set_user_int_count(void *d, unsigned int subdevice, { struct comedi_device *dev = (struct comedi_device *) d; struct comedi_subdevice *s = dev->subdevices + subdevice; - comedi_async *async; + struct comedi_async *async; int num_bytes; async = s->async; @@ -229,7 +229,7 @@ int comedi_mark_buffer_read(void *d, unsigned int subdevice, { struct comedi_device *dev = (struct comedi_device *) d; struct comedi_subdevice *s = dev->subdevices + subdevice; - comedi_async *async; + struct comedi_async *async; if (subdevice >= dev->n_subdevices) return -1; @@ -248,7 +248,7 @@ int comedi_mark_buffer_written(void *d, unsigned int subdevice, { struct comedi_device *dev = (struct comedi_device *) d; struct comedi_subdevice *s = dev->subdevices + subdevice; - comedi_async *async; + struct comedi_async *async; int bytes_written; if (subdevice >= dev->n_subdevices) @@ -267,7 +267,7 @@ int comedi_get_buffer_size(void *d, unsigned int subdev) { struct comedi_device *dev = (struct comedi_device *) d; struct comedi_subdevice *s = dev->subdevices + subdev; - comedi_async *async; + struct comedi_async *async; if (subdev >= dev->n_subdevices) return -1; @@ -282,7 +282,7 @@ int comedi_get_buffer_offset(void *d, unsigned int subdevice) { struct comedi_device *dev = (struct comedi_device *) d; struct comedi_subdevice *s = dev->subdevices + subdevice; - comedi_async *async; + struct comedi_async *async; if (subdevice >= dev->n_subdevices) return -1; diff --git a/drivers/staging/comedi/kcomedilib/kcomedilib_main.c b/drivers/staging/comedi/kcomedilib/kcomedilib_main.c index 928e935..31b749d 100644 --- a/drivers/staging/comedi/kcomedilib/kcomedilib_main.c +++ b/drivers/staging/comedi/kcomedilib/kcomedilib_main.c @@ -125,7 +125,7 @@ int comedi_command(void *d, comedi_cmd *cmd) { struct comedi_device *dev = (struct comedi_device *) d; struct comedi_subdevice *s; - comedi_async *async; + struct comedi_async *async; unsigned runflags; if (cmd->subdev >= dev->n_subdevices) @@ -372,7 +372,7 @@ int comedi_unlock(void *d, unsigned int subdevice) struct comedi_device *dev = (struct comedi_device *) d; struct comedi_subdevice *s; unsigned long flags; - comedi_async *async; + struct comedi_async *async; int ret; if (subdevice >= dev->n_subdevices) @@ -469,7 +469,7 @@ int comedi_register_callback(void *d, unsigned int subdevice, { struct comedi_device *dev = (struct comedi_device *) d; struct comedi_subdevice *s; - comedi_async *async; + struct comedi_async *async; if (subdevice >= dev->n_subdevices) return -EINVAL; @@ -505,7 +505,7 @@ int comedi_poll(void *d, unsigned int subdevice) { struct comedi_device *dev = (struct comedi_device *) d; struct comedi_subdevice *s = dev->subdevices; - comedi_async *async; + struct comedi_async *async; if (subdevice >= dev->n_subdevices) return -EINVAL; |