···944 return -ENXIO;945}94600000000947/*948 * This probably belongs here rather than ioport.c because949 * we do not want this crud linked into SBus kernels.
···944 return -ENXIO;945}946947+struct device_node *pci_device_to_OF_node(struct pci_dev *pdev)948+{949+ struct pcidev_cookie *pc = pdev->sysdata;950+951+ return pc->prom_node;952+}953+EXPORT_SYMBOL(pci_device_to_OF_node);954+955/*956 * This probably belongs here rather than ioport.c because957 * we do not want this crud linked into SBus kernels.