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>
This commit is contained in:
parent
d2ebdf4bae
commit
bb63b42199
4 changed files with 27 additions and 28 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue