Re: [PATCH 19/90] staging: comedi: adv_pci1710: move comedi_pci_enable()into the attach

From: Ian Abbott
Date: Thu Jul 19 2012 - 05:41:11 EST


On 2012-07-19 02:32, H Hartley Sweeten wrote:
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.

As mentioned in my reply to your equivalent patch for adv_pci1723, you should remove the pci_is_enabled() test for the same reason.

--
-=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@xxxxxxxxx> )=-
-=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/