diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-03 21:49:54 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-11 18:36:02 (GMT) |
commit | 88cccef0193a7f8c6a73326404c0b2f9ad27f71a (patch) | |
tree | cc556a559e7805e0d938682e0df4c2dbb3d47291 /drivers/staging/comedi/kcomedilib | |
parent | a1525758c848aedf590bba3a919321e2d80fcd6e (diff) | |
download | linux-fsl-qoriq-88cccef0193a7f8c6a73326404c0b2f9ad27f71a.tar.xz |
Staging: comedi: kcomedilib: comedi_do_insn is now static
No one else calls this function, so mark it static.
Now we can strip out the unneeded functionality in here as well.
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/comedi/kcomedilib')
-rw-r--r-- | drivers/staging/comedi/kcomedilib/kcomedilib_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/comedi/kcomedilib/kcomedilib_main.c b/drivers/staging/comedi/kcomedilib/kcomedilib_main.c index 7cb29f2..d27de93 100644 --- a/drivers/staging/comedi/kcomedilib/kcomedilib_main.c +++ b/drivers/staging/comedi/kcomedilib/kcomedilib_main.c @@ -84,7 +84,7 @@ EXPORT_SYMBOL(comedi_close); * COMEDI_INSN * perform an instruction */ -int comedi_do_insn(void *d, struct comedi_insn *insn) +static int comedi_do_insn(void *d, struct comedi_insn *insn) { struct comedi_device *dev = (struct comedi_device *)d; struct comedi_subdevice *s; |