]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: das1800: don't pass struct comedi_cmd by value
authorIan Abbott <abbotti@mev.co.uk>
Wed, 19 Sep 2012 18:37:41 +0000 (19:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Sep 2012 16:29:54 +0000 (09:29 -0700)
commiteb4332eff5aa071b19f89f45ae7f6393af59ba62
treebd17a4d671db8c3e5eddb001f9b264147c303bc6
parent44b255f7b13bacb076e2789352e4a8afe19b922e
staging: comedi: das1800: don't pass struct comedi_cmd by value

Various functions in das1800.c take a `struct comedi_cmd` parameter by
value.  Change them to pass the parameter by reference instead.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/das1800.c