[ppc64 patch] export vio_find_node()

Hollis Blanchard hollisb at us.ibm.com
Tue Mar 9 08:33:30 EST 2004


Hi Linus, this adds vio_find_node() to vio.h in case anyone actually
wants to use it... please apply.

===== include/asm-ppc64/vio.h 1.4 vs edited =====
--- 1.4/include/asm-ppc64/vio.h	Mon Mar  1 10:04:24 2004
+++ edited/include/asm-ppc64/vio.h	Mon Mar  8 15:34:18 2004
@@ -46,6 +46,7 @@
 						const struct vio_dev *dev);
 struct vio_dev * __devinit vio_register_device(struct device_node *node_vdev);
 void __devinit vio_unregister_device(struct vio_dev *dev);
+struct vio_dev *vio_find_node(struct device_node *vnode);
 const void * vio_get_attribute(struct vio_dev *vdev, void* which, int* length);
 int vio_get_irq(struct vio_dev *dev);
 struct iommu_table * vio_build_iommu_table(struct vio_dev *dev);


** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list