From: H Hartley Sweeten Date: Thu, 19 Jul 2012 01:32:01 +0000 (-0700) Subject: staging: comedi: adv_pci1710: move comedi_pci_enable() into the attach X-Git-Tag: v3.6-rc1~100^2~126 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f5d1b9ac13d44f370a3f7ebfc624b7f6cca4c19;p=pandora-kernel.git staging: comedi: adv_pci1710: move comedi_pci_enable() into the attach Use pci_is_enabled() in the "find pci device" function to determine if the found pci device is not in use and move the comedi_pci_enable() call into the attach. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed