aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-05-14 14:27:39 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-16 16:25:59 -0700
commiteb5a0a8ca5a9ee145c9c586083c63bff711c66d1 (patch)
tree4ccd1e0ed3052cdfbea7f691ffbbecc6dade6ee5 /scripts/patch-kernel
parentstaging: comedi: dt9812: pass the comedi_device * to dt9812_analog_out_shadow() (diff)
staging: comedi: dt9812: move the sempaphore used by the comedi_driver
The semaphore in the struct slot_dt9812 is used by the comedi_driver when reading and writing to the usb device. It has no real association with the 'slot'. The 'slot' is protected with a static semaphore in the driver. Move the semaphore into the comedi_device private data and initialize it after the private data is allocated. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions