From: Ian Abbott Date: Wed, 30 May 2012 18:04:45 +0000 (+0100) Subject: staging: comedi: amplc_pc263: Add attach_pci() hook X-Git-Tag: v3.6-rc1~100^2~982 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8967b6ed676c697da3c05ab917a8eaae7a14f81;p=pandora-kernel.git staging: comedi: amplc_pc263: Add attach_pci() hook Implement the attach_pci() hook as function pc263_attach_pci(). This is called bu comedi_pci_auto_config() in preference to the old attach() hook (implemented by pc263_attach()) and avoids searching for the probed PCI device. Factor out code common to pc263_find_pci() and pc263_attach_pci() into new function pc263_find_pci_board(). Factor out most code common to pc263_attach() and pc263_attach_pci() into new functions pc263_pci_common_attach() and pc263_common_attach(). Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed