]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/staging/comedi/drivers/comedi_fc.c
Merge branch 'omap-pool'
[linux-2.6-omap-h63xx.git] / drivers / staging / comedi / drivers / comedi_fc.c
index cd74dbe5417d5c85979d5b15076db8915d1f5957..9fa4cdc84d4429416c207d9d918cd4c00ac811f4 100644 (file)
 
 #include "comedi_fc.h"
 
-static void increment_scan_progress(comedi_subdevice *subd,
+static void increment_scan_progress(struct comedi_subdevice *subd,
                                    unsigned int num_bytes)
 {
-       comedi_async *async = subd->async;
+       struct comedi_async *async = subd->async;
        unsigned int scan_length = cfc_bytes_per_scan(subd);
 
        async->scan_progress += num_bytes;
@@ -42,10 +42,10 @@ static void increment_scan_progress(comedi_subdevice *subd,
 }
 
 /* Writes an array of data points to comedi's buffer */
-unsigned int cfc_write_array_to_buffer(comedi_subdevice *subd, void *data,
+unsigned int cfc_write_array_to_buffer(struct comedi_subdevice *subd, void *data,
                                       unsigned int num_bytes)
 {
-       comedi_async *async = subd->async;
+       struct comedi_async *async = subd->async;
        unsigned int retval;
 
        if (num_bytes == 0)
@@ -67,10 +67,10 @@ unsigned int cfc_write_array_to_buffer(comedi_subdevice *subd, void *data,
 }
 EXPORT_SYMBOL(cfc_write_array_to_buffer);
 
-unsigned int cfc_read_array_from_buffer(comedi_subdevice *subd, void *data,
+unsigned int cfc_read_array_from_buffer(struct comedi_subdevice *subd, void *data,
                                        unsigned int num_bytes)
 {
-       comedi_async *async = subd->async;
+       struct comedi_async *async = subd->async;
 
        if (num_bytes == 0)
                return 0;
@@ -85,7 +85,7 @@ unsigned int cfc_read_array_from_buffer(comedi_subdevice *subd, void *data,
 }
 EXPORT_SYMBOL(cfc_read_array_from_buffer);
 
-unsigned int cfc_handle_events(comedi_device *dev, comedi_subdevice *subd)
+unsigned int cfc_handle_events(struct comedi_device *dev, struct comedi_subdevice *subd)
 {
        unsigned int events = subd->async->events;