diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2009-03-17 02:05:53 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-03 21:53:57 (GMT) |
commit | 90035c0886b256d75bced13b3b3cea5234aff136 (patch) | |
tree | 8dbe0756731a1e3a771ce9f77c865f572db042e1 /drivers/staging/comedi/comedi_compat32.c | |
parent | ea6d0d4cab4f4f2d6a88f3bce4707fe92696fd3f (diff) | |
download | linux-fsl-qoriq-90035c0886b256d75bced13b3b3cea5234aff136.tar.xz |
Staging: comedi: Remove comedi_insn 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_compat32.c')
-rw-r--r-- | drivers/staging/comedi/comedi_compat32.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/comedi/comedi_compat32.c b/drivers/staging/comedi/comedi_compat32.c index 3eb1d5c..6299090 100644 --- a/drivers/staging/comedi/comedi_compat32.c +++ b/drivers/staging/comedi/comedi_compat32.c @@ -91,7 +91,7 @@ struct comedi32_insn_struct { struct comedi32_insnlist_struct { unsigned int n_insns; - compat_uptr_t insns; /* 32-bit 'comedi_insn *' */ + compat_uptr_t insns; /* 32-bit 'struct comedi_insn *' */ }; /* Handle translated ioctl. */ @@ -329,7 +329,7 @@ static int compat_cmdtest(struct file *file, unsigned long arg) } /* Copy 32-bit insn structure to native insn structure. */ -static int get_compat_insn(comedi_insn __user *insn, +static int get_compat_insn(struct comedi_insn __user *insn, struct comedi32_insn_struct __user *insn32) { int err; @@ -362,7 +362,7 @@ static int compat_insnlist(struct file *file, unsigned long arg) { struct combined_insnlist { comedi_insnlist insnlist; - comedi_insn insn[1]; + struct comedi_insn insn[1]; } __user *s; struct comedi32_insnlist_struct __user *insnlist32; struct comedi32_insn_struct __user *insn32; @@ -410,7 +410,7 @@ static int compat_insnlist(struct file *file, unsigned long arg) /* Handle 32-bit COMEDI_INSN ioctl. */ static int compat_insn(struct file *file, unsigned long arg) { - comedi_insn __user *insn; + struct comedi_insn __user *insn; struct comedi32_insn_struct __user *insn32; int rc; |