diff options
author | Bill Pemberton | 2009-03-17 03:06:04 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2009-04-03 23:53:57 +0200 |
commit | a18b416dc11ff9596ebf2012b1d15f485b951b28 (patch) | |
tree | 9e3c4235758c657e4bdd3ddbb38541cd6d7320a0 /drivers/staging/comedi/comedi_fops.c | |
parent | Staging: comedi: Remove comedi_insnlist typedef (diff) | |
download | kernel-qcow2-linux-a18b416dc11ff9596ebf2012b1d15f485b951b28.tar.gz kernel-qcow2-linux-a18b416dc11ff9596ebf2012b1d15f485b951b28.tar.xz kernel-qcow2-linux-a18b416dc11ff9596ebf2012b1d15f485b951b28.zip |
Staging: comedi: Remove comedi_chaninfo typedef
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/comedi/comedi_fops.c')
-rw-r--r-- | drivers/staging/comedi/comedi_fops.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c index a70d71b8b0f0..1ffaf8c38f13 100644 --- a/drivers/staging/comedi/comedi_fops.c +++ b/drivers/staging/comedi/comedi_fops.c @@ -75,7 +75,7 @@ static int do_devinfo_ioctl(struct comedi_device *dev, comedi_devinfo *arg, struct file *file); static int do_subdinfo_ioctl(struct comedi_device *dev, comedi_subdinfo *arg, void *file); -static int do_chaninfo_ioctl(struct comedi_device *dev, comedi_chaninfo *arg); +static int do_chaninfo_ioctl(struct comedi_device *dev, struct comedi_chaninfo *arg); static int do_bufinfo_ioctl(struct comedi_device *dev, void *arg); static int do_cmd_ioctl(struct comedi_device *dev, void *arg, void *file); static int do_lock_ioctl(struct comedi_device *dev, unsigned int arg, void *file); @@ -490,12 +490,12 @@ static int do_subdinfo_ioctl(struct comedi_device *dev, comedi_subdinfo *arg, arrays at elements of chaninfo structure */ -static int do_chaninfo_ioctl(struct comedi_device *dev, comedi_chaninfo *arg) +static int do_chaninfo_ioctl(struct comedi_device *dev, struct comedi_chaninfo *arg) { struct comedi_subdevice *s; - comedi_chaninfo it; + struct comedi_chaninfo it; - if (copy_from_user(&it, arg, sizeof(comedi_chaninfo))) + if (copy_from_user(&it, arg, sizeof(struct comedi_chaninfo))) return -EFAULT; if (it.subdev >= dev->n_subdevices) |