of: merge of_attach_node() & of_detach_node()
[deliverable/linux.git] / include / linux / of.h
index dbabf86e0b7aeea271cd0100c1b58cc77be449f3..3cc0d7ae290eb2501ce4187c94f647522edbc94a 100644 (file)
@@ -184,4 +184,10 @@ extern int of_parse_phandles_with_args(struct device_node *np,
        const char *list_name, const char *cells_name, int index,
        struct device_node **out_node, const void **out_args);
 
+#if defined(CONFIG_OF_DYNAMIC)
+/* For updating the device tree at runtime */
+extern void of_attach_node(struct device_node *);
+extern void of_detach_node(struct device_node *);
+#endif
+
 #endif /* _LINUX_OF_H */
This page took 0.029591 seconds and 5 git commands to generate.