diff options
Diffstat (limited to 'include/linux/of.h')
-rw-r--r-- | include/linux/of.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/of.h b/include/linux/of.h index dbabf86e0b7a..3cc0d7ae290e 100644 --- a/include/linux/of.h +++ b/include/linux/of.h | |||
@@ -184,4 +184,10 @@ extern int of_parse_phandles_with_args(struct device_node *np, | |||
184 | const char *list_name, const char *cells_name, int index, | 184 | const char *list_name, const char *cells_name, int index, |
185 | struct device_node **out_node, const void **out_args); | 185 | struct device_node **out_node, const void **out_args); |
186 | 186 | ||
187 | #if defined(CONFIG_OF_DYNAMIC) | ||
188 | /* For updating the device tree at runtime */ | ||
189 | extern void of_attach_node(struct device_node *); | ||
190 | extern void of_detach_node(struct device_node *); | ||
191 | #endif | ||
192 | |||
187 | #endif /* _LINUX_OF_H */ | 193 | #endif /* _LINUX_OF_H */ |