commit | 12f24996ccb8a2d627776cca6a1ad19a30954a74 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Tue Dec 03 12:07:23 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Dec 04 15:25:31 2013 -0800 |
tree | 8f8fb43a8e90f9ded9fad8c07585379ea25f0a9d | |
parent | e5fc1a19255616e77ab538bfce16b3ef0836f4b2 [diff] |
staging: comedi: pcl812: only init async command members when needed The 'len_chanlist' and 'cancel' members of the comedi_subdevice are only used with async command support. Only initialize them if the irq was sucessfully requested. 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>