From: Ian Abbott Date: Fri, 14 Sep 2012 16:34:14 +0000 (+0100) Subject: staging: comedi: ni_labpc: use comedi attach_pci callback X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~213 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e2716cdc34778ea989093b2308bf62fc12da810;p=pandora-kernel.git staging: comedi: ni_labpc: use comedi attach_pci callback Convert this PCI driver to use the comedi `attach_pci` callback instead of the `attach` callback for PCI auto-configuration. Remove support for manual attachment of PCI boards supported by this driver. The `attach` callback is still needed to manually attach ISA boards, but print an error if an attempt is made to manually attach a PCI board. Note that this driver still uses the list of PCI "mite" devices created by the "mite" module. This will be dealt with by a later patch once dynamic allocation of "mite" structures has been implemented. Signed-off-by: Ian Abbott Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed