On Sun, 2011-07-03 at 14:51 -0600, Grant Likely wrote: > > + > > +#ifdef CONFIG_PCI > > +/* > > + * PCI <-> OF matching functions > > + * (XXX should these be here?) > > + */ > > +struct pci_bus; > > +struct pci_dev; > > +extern int pci_device_from_OF_node(struct device_node *node, > > + u8 *bus, u8 *devfn); > > +extern struct device_node *pci_busdev_to_OF_node(struct pci_bus > *bus, > > + int devfn); > > +extern struct device_node *pci_device_to_OF_node(struct pci_dev > *dev); > > +extern void pci_create_OF_bus_map(void); > > +#endif Don't copy these from powermac or microblaze. the OF_bus_map is something that should not spread :-) You get all you need of the above from generic code with my patches to PCI <-> OF matching, which should be in linux-next and are going to be merged in the next merge window. Cheers, Ben. -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html