summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorYinghai Lu <Yinghai.Lu@Sun.COM>2008-02-28 23:56:50 -0800
committerIngo Molnar <mingo@elte.hu>2008-04-26 23:41:04 +0200
commitbb63b4219976d48ed6d22ac33c18be334fb5a78c (patch)
treefd63e9c86b43f246a1f7011881540718118890c9 /include
parentd2ebdf4bae4f1d7c30e71fd74f270ca4cda024fc (diff)
downloadop-kernel-dev-bb63b4219976d48ed6d22ac33c18be334fb5a78c.zip
op-kernel-dev-bb63b4219976d48ed6d22ac33c18be334fb5a78c.tar.gz
x86 pci: remove checking type for mmconfig probe
doesn't need to check if it is type1 or type2, we can use raw_pci_ops directly. also make pci_direct_conf1 static again. anyway is there system with type 2 and mmconf support? Signed-off-by: Yinghai Lu <yinghai.lu@sun.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r--include/linux/pci.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 2b8f745..a71954a 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -1055,10 +1055,10 @@ extern unsigned long pci_cardbus_mem_size;
extern int pcibios_add_platform_entries(struct pci_dev *dev);
#ifdef CONFIG_PCI_MMCONFIG
-extern void __init pci_mmcfg_early_init(int type);
+extern void __init pci_mmcfg_early_init(void);
extern void __init pci_mmcfg_late_init(void);
#else
-static inline void pci_mmcfg_early_init(int type) { }
+static inline void pci_mmcfg_early_init(void) { }
static inline void pci_mmcfg_late_init(void) { }
#endif
OpenPOWER on IntegriCloud