PCI: centralize device setup code
authorYu Zhao <yu.zhao@intel.com>
Fri, 20 Mar 2009 03:25:14 +0000 (11:25 +0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 20 Mar 2009 17:48:25 +0000 (10:48 -0700)
commit480b93b7837fb3cf0579a42f4953ac463a5b9e1e
tree39206460a790570d293dc04a64ab3fd3fff736ef
parenta28724b0fb909d247229a70761c90bb37b13366a
PCI: centralize device setup code

Move the device setup stuff into pci_setup_device() which will be used
to setup the Virtual Function later.

Reviewed-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Yu Zhao <yu.zhao@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci.h
drivers/pci/probe.c