From: H Hartley Sweeten Date: Tue, 3 Dec 2013 19:07:18 +0000 (-0700) Subject: staging: comedi: pcl818: only init async command members when needed X-Git-Tag: v3.14-rc1~150^2~570 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d788d019c4c7c36878a5149f60b40bfeba26ea0;p=pandora-kernel.git staging: comedi: pcl818: 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