diff options
author | Yu Zhao <yu.zhao@intel.com> | 2009-03-20 11:25:14 +0800 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-03-20 10:48:25 -0700 |
commit | 480b93b7837fb3cf0579a42f4953ac463a5b9e1e (patch) | |
tree | 39206460a790570d293dc04a64ab3fd3fff736ef /drivers/pci/pci.h | |
parent | a28724b0fb909d247229a70761c90bb37b13366a (diff) | |
download | kernel_samsung_smdk4412-480b93b7837fb3cf0579a42f4953ac463a5b9e1e.zip kernel_samsung_smdk4412-480b93b7837fb3cf0579a42f4953ac463a5b9e1e.tar.gz kernel_samsung_smdk4412-480b93b7837fb3cf0579a42f4953ac463a5b9e1e.tar.bz2 |
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>
Diffstat (limited to 'drivers/pci/pci.h')
-rw-r--r-- | drivers/pci/pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h index 5c29cb2..f4fc10f 100644 --- a/drivers/pci/pci.h +++ b/drivers/pci/pci.h @@ -178,6 +178,7 @@ enum pci_bar_type { pci_bar_mem64, /* A 64-bit memory BAR */ }; +extern int pci_setup_device(struct pci_dev *dev); extern int __pci_read_base(struct pci_dev *dev, enum pci_bar_type type, struct resource *res, unsigned int reg); extern int pci_resource_bar(struct pci_dev *dev, int resno, |