| .. | .. | 
|---|
| 114 | 114 |  extern bool port_cf9_safe; | 
|---|
| 115 | 115 |   | 
|---|
| 116 | 116 |  /* arch_initcall level */ | 
|---|
 | 117 | +#ifdef CONFIG_PCI_DIRECT  | 
|---|
| 117 | 118 |  extern int pci_direct_probe(void); | 
|---|
| 118 | 119 |  extern void pci_direct_init(int type); | 
|---|
 | 120 | +#else  | 
|---|
 | 121 | +static inline int pci_direct_probe(void) { return -1; }  | 
|---|
 | 122 | +static inline  void pci_direct_init(int type) { }  | 
|---|
 | 123 | +#endif  | 
|---|
 | 124 | +  | 
|---|
 | 125 | +#ifdef CONFIG_PCI_BIOS  | 
|---|
| 119 | 126 |  extern void pci_pcbios_init(void); | 
|---|
 | 127 | +#else  | 
|---|
 | 128 | +static inline void pci_pcbios_init(void) { }  | 
|---|
 | 129 | +#endif  | 
|---|
 | 130 | +  | 
|---|
| 120 | 131 |  extern void __init dmi_check_pciprobe(void); | 
|---|
| 121 | 132 |  extern void __init dmi_check_skip_isa_align(void); | 
|---|
| 122 | 133 |   | 
|---|
| 123 | 134 |  /* some common used subsys_initcalls */ | 
|---|
 | 135 | +#ifdef CONFIG_PCI  | 
|---|
| 124 | 136 |  extern int __init pci_acpi_init(void); | 
|---|
 | 137 | +#else  | 
|---|
 | 138 | +static inline int  __init pci_acpi_init(void)  | 
|---|
 | 139 | +{  | 
|---|
 | 140 | +	return -EINVAL;  | 
|---|
 | 141 | +}  | 
|---|
 | 142 | +#endif  | 
|---|
| 125 | 143 |  extern void __init pcibios_irq_init(void); | 
|---|
| 126 | 144 |  extern int __init pcibios_init(void); | 
|---|
| 127 | 145 |  extern int pci_legacy_init(void); | 
|---|