From: Ian Abbott Date: Tue, 6 May 2014 12:12:13 +0000 (+0100) Subject: staging: comedi: pass subdevice to __comedi_buf_write_alloc() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~461 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ab4fe7e13989ef5b11bd96f1ed6763eabb1d17d;p=pandora-kernel.git staging: comedi: pass subdevice to __comedi_buf_write_alloc() Local function `__comedi_buf_write_alloc()` is called by `comedi_buf_write_alloc()` and `comedi_buf_put()`. It currently takes a pointer to a `struct comedi_async`. Change it to take a pointer to a `struct comedi_subdevice` and use the `async` member for consistency with other comedi buffer handling functions. Signed-off-by: Ian Abbott Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed