]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/asm-sparc/prom.h
Consolidate of_get_parent
[karo-tx-linux.git] / include / asm-sparc / prom.h
index 57f86c84293b39d0c8eb523fec01ea8a4fdfa528..c7d54958a90eddde61cb65edf1396f189942b06f 100644 (file)
@@ -69,6 +69,15 @@ extern int of_getintprop_default(struct device_node *np,
 
 extern void prom_build_devicetree(void);
 
+/* Dummy ref counting routines - to be implemented later */
+static inline struct device_node *of_node_get(struct device_node *node)
+{
+       return node;
+}
+static inline void of_node_put(struct device_node *node)
+{
+}
+
 /*
  * NB:  This is here while we transition from using asm/prom.h
  * to linux/of.h