From: H Hartley Sweeten Date: Thu, 5 Dec 2013 20:43:35 +0000 (-0700) Subject: staging: comedi: adv_pci1710: only init async command members when needed X-Git-Tag: v3.14-rc1~150^2~532 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67fb892cc14aa3159aa68cbda2bd6cc30e2e7fd8;p=pandora-kernel.git staging: comedi: adv_pci1710: 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. Also, only init the dev->read_subdev if we have the irq. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed