staging: comedi: ni_labpc: don't pass struct comedi_cmd by value
authorIan Abbott <abbotti@mev.co.uk>
Wed, 19 Sep 2012 18:37:42 +0000 (19:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Sep 2012 16:29:54 +0000 (09:29 -0700)
commit62fea8c8f1bf5ca33ba55b3f421d9598a68297ee
treea7352d3c723ba8b3dbf65755a0adb8eb503ecdc2
parenteb4332eff5aa071b19f89f45ae7f6393af59ba62
staging: comedi: ni_labpc: don't pass struct comedi_cmd by value

`labpc_suggest_transfer_size()` has a parameter of type `struct
comedi_cmd` passed by value.  Change it to pass by pointer reference.

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