From: H Hartley Sweeten Date: Tue, 3 Dec 2013 19:07:23 +0000 (-0700) Subject: staging: comedi: pcl812: only init async command members when needed X-Git-Tag: v3.14-rc1~150^2~565 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12f24996ccb8a2d627776cca6a1ad19a30954a74;p=pandora-kernel.git 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 Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed