[PATCH] -- export symbols needed by rpadlpar module

Linda Xie lxiep at us.ibm.com
Fri Dec 19 08:05:14 EST 2003


Hi,

The attached patch exports of_find_node_by_name and of_get_next_child
needed by rpadlpar module.

Comments are welcome.


Linda


diff -Nru a/arch/ppc64/kernel/prom.c b/arch/ppc64/kernel/prom.c
--- a/arch/ppc64/kernel/prom.c  Thu Dec 18 14:39:08 2003
+++ b/arch/ppc64/kernel/prom.c  Thu Dec 18 14:39:08 2003
@@ -2185,6 +2185,7 @@
         read_unlock(&devtree_lock);
         return np;
  }
+EXPORT_SYMBOL(of_find_node_by_name);

  /**
   *     of_find_node_by_type - Find a node by its "device_type" property
@@ -2335,6 +2336,7 @@
         read_unlock(&devtree_lock);
         return next;
  }
+EXPORT_SYMBOL(of_get_next_child);

  /**
   *     of_node_get - Increment refcount of a node


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




More information about the Linuxppc64-dev mailing list