aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorYinghai Lu <Yinghai.Lu@Sun.COM>2008-02-29 02:56:50 -0500
committerIngo Molnar <mingo@elte.hu>2008-04-26 17:41:04 -0400
commitbb63b4219976d48ed6d22ac33c18be334fb5a78c (patch)
treefd63e9c86b43f246a1f7011881540718118890c9 /include/linux/pci.h
parentd2ebdf4bae4f1d7c30e71fd74f270ca4cda024fc (diff)
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/linux/pci.h')
-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 2b8f74522f8f..a71954a38932 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -1055,10 +1055,10 @@ extern unsigned long pci_cardbus_mem_size;
1055extern int pcibios_add_platform_entries(struct pci_dev *dev); 1055extern int pcibios_add_platform_entries(struct pci_dev *dev);
1056 1056
1057#ifdef CONFIG_PCI_MMCONFIG 1057#ifdef CONFIG_PCI_MMCONFIG
1058extern void __init pci_mmcfg_early_init(int type); 1058extern void __init pci_mmcfg_early_init(void);
1059extern void __init pci_mmcfg_late_init(void); 1059extern void __init pci_mmcfg_late_init(void);
1060#else 1060#else
1061static inline void pci_mmcfg_early_init(int type) { } 1061static inline void pci_mmcfg_early_init(void) { }
1062static inline void pci_mmcfg_late_init(void) { } 1062static inline void pci_mmcfg_late_init(void) { }
1063#endif 1063#endif
1064 1064