]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: das16: pass struct comedi_cmd by reference
authorIan Abbott <abbotti@mev.co.uk>
Wed, 19 Sep 2012 18:37:40 +0000 (19:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Sep 2012 16:29:54 +0000 (09:29 -0700)
commit44b255f7b13bacb076e2789352e4a8afe19b922e
tree7c5763a1a2d037301850263caf6c152d2d1d7103
parentc8cad4c89ee3b15935c532210ae6ebb5c0a2734d
staging: comedi: das16: pass struct comedi_cmd by reference

Change `das16_suggest_transfer_size()` to take a pointer to the `struct
comedi_cmd` instead of passing it by value.

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