Revision d69a8e63 device_tree.c
b/device_tree.c | ||
---|---|---|
107 | 107 |
|
108 | 108 |
return fdt_setprop_string(fdt, offset, property, string); |
109 | 109 |
} |
110 |
|
|
111 |
int qemu_devtree_nop_node(void *fdt, const char *node_path) |
|
112 |
{ |
|
113 |
int offset; |
|
114 |
|
|
115 |
offset = fdt_path_offset(fdt, node_path); |
|
116 |
if (offset < 0) |
|
117 |
return offset; |
|
118 |
|
|
119 |
return fdt_nop_node(fdt, offset); |
|
120 |
} |
Also available in: Unified diff