From: Ian Abbott Date: Sat, 27 Oct 2012 20:44:15 +0000 (+0100) Subject: staging: comedi: support auto_attach() for PCI and USB X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~892 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5121914a22c22d849abb57d086fe408c9ca2c0c;p=pandora-kernel.git staging: comedi: support auto_attach() for PCI and USB Allow `comedi_pci_auto_config()` and `comedi_usb_auto_config()` to use the new `auto_attach()` hook in the low-level driver's `struct comedi_driver` if it is set and the `attach_pci()` or `attach_usb()` hook (for PCI or USB respectively) is `NULL`. Eventually, the `auto_attach()` hook will be the only way of auto-configuring hardware devices as comedi devices and the bus-type specific `attach_pci()` and `attach_usb()` hooks will be removed. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed