From: Ian Abbott Date: Tue, 6 May 2014 12:12:17 +0000 (+0100) Subject: staging: comedi: mite: pass subdevice to mite_sync_output_dma() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~457 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e575a9cd9f65f18e7a47a58b10f57dc92263e39;p=pandora-kernel.git staging: comedi: mite: pass subdevice to mite_sync_output_dma() `mite_sync_output_dma()` in the "mite" module currently takes a pointer to a `struct comedi_async` and gets a pointer to the owning `struct comedi_subdevice` from the `subdevice` member. Change it to take a pointer to a `struct comedi_subdevice` and use the `async` member. The motivation for this is to eliminate the `subdevice` member of `struct comedi_async`. Signed-off-by: Ian Abbott Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed