static void ni_ao_fifo_load(struct comedi_device * dev, struct comedi_subdevice * s, int n)
{
- comedi_async *async = s->async;
+ struct comedi_async *async = s->async;
comedi_cmd *cmd = &async->cmd;
int chan;
int i;
static void ni_ai_fifo_read(struct comedi_device * dev, struct comedi_subdevice * s, int n)
{
- comedi_async *async = s->async;
+ struct comedi_async *async = s->async;
int i;
if (boardtype.reg_type == ni_reg_611x) {
static void ni_ai_munge(struct comedi_device * dev, struct comedi_subdevice * s,
void *data, unsigned int num_bytes, unsigned int chan_index)
{
- comedi_async *async = s->async;
+ struct comedi_async *async = s->async;
unsigned int i;
unsigned int length = num_bytes / bytes_per_sample(s);
short *array = data;
static void ni_ao_munge(struct comedi_device * dev, struct comedi_subdevice * s,
void *data, unsigned int num_bytes, unsigned int chan_index)
{
- comedi_async *async = s->async;
+ struct comedi_async *async = s->async;
unsigned int range;
unsigned int i;
unsigned int offset;