On 30/04/12 18:55, David Daney wrote: >> struct pci_ops *pci_ops; >> struct resource *mem_resource; >> @@ -142,4 +148,10 @@ static inline int pci_get_legacy_ide_irq(struct >> pci_dev *dev, int channel) >> >> extern char * (*pcibios_plat_setup)(char *str); >> >> +#ifdef CONFIG_OF >> +/* this function parses memory ranges from a device node */ >> +extern void __devinit pci_load_OF_ranges(struct pci_controller *hose, >> + struct device_node *node); >> +#endif > > Again, no #ifdef. Hi, are you sure that we don't want to #ifdef this prototype ? The function is only available when OF is selected. Thanks, John