From: H Hartley Sweeten Date: Thu, 19 Jul 2012 01:30:48 +0000 (-0700) Subject: staging: comedi: adv_pci1723: move comedi_pci_enable() into the attach X-Git-Tag: v3.6-rc1~100^2~130 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc04c8a5fc82bd284f7f791869a7f9c0bfb528b5;p=pandora-kernel.git staging: comedi: adv_pci1723: 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