]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: mite: pass subdevice to mite_sync_output_dma()
authorIan Abbott <abbotti@mev.co.uk>
Tue, 6 May 2014 12:12:17 +0000 (13:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 12:25:50 +0000 (21:25 +0900)
commit1e575a9cd9f65f18e7a47a58b10f57dc92263e39
tree31a92490ee11c8c6937978e3d4ae185fe21d82ff
parent74f63db7ae614aee8370df6152c0da76e14b6ff0
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 <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/mite.c
drivers/staging/comedi/drivers/mite.h
drivers/staging/comedi/drivers/ni_mio_common.c