diff options
Diffstat (limited to 'scripts/dtc/libfdt/fdt_wip.c')
-rw-r--r-- | scripts/dtc/libfdt/fdt_wip.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/dtc/libfdt/fdt_wip.c b/scripts/dtc/libfdt/fdt_wip.c index 5e859198622b..534c1cbbb2f3 100644 --- a/scripts/dtc/libfdt/fdt_wip.c +++ b/scripts/dtc/libfdt/fdt_wip.c | |||
@@ -93,7 +93,7 @@ int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, | |||
93 | val, len); | 93 | val, len); |
94 | } | 94 | } |
95 | 95 | ||
96 | static void _fdt_nop_region(void *start, int len) | 96 | static void fdt_nop_region_(void *start, int len) |
97 | { | 97 | { |
98 | fdt32_t *p; | 98 | fdt32_t *p; |
99 | 99 | ||
@@ -110,12 +110,12 @@ int fdt_nop_property(void *fdt, int nodeoffset, const char *name) | |||
110 | if (!prop) | 110 | if (!prop) |
111 | return len; | 111 | return len; |
112 | 112 | ||
113 | _fdt_nop_region(prop, len + sizeof(*prop)); | 113 | fdt_nop_region_(prop, len + sizeof(*prop)); |
114 | 114 | ||
115 | return 0; | 115 | return 0; |
116 | } | 116 | } |
117 | 117 | ||
118 | int _fdt_node_end_offset(void *fdt, int offset) | 118 | int fdt_node_end_offset_(void *fdt, int offset) |
119 | { | 119 | { |
120 | int depth = 0; | 120 | int depth = 0; |
121 | 121 | ||
@@ -129,11 +129,11 @@ int fdt_nop_node(void *fdt, int nodeoffset) | |||
129 | { | 129 | { |
130 | int endoffset; | 130 | int endoffset; |
131 | 131 | ||
132 | endoffset = _fdt_node_end_offset(fdt, nodeoffset); | 132 | endoffset = fdt_node_end_offset_(fdt, nodeoffset); |
133 | if (endoffset < 0) | 133 | if (endoffset < 0) |
134 | return endoffset; | 134 | return endoffset; |
135 | 135 | ||
136 | _fdt_nop_region(fdt_offset_ptr_w(fdt, nodeoffset, 0), | 136 | fdt_nop_region_(fdt_offset_ptr_w(fdt, nodeoffset, 0), |
137 | endoffset - nodeoffset); | 137 | endoffset - nodeoffset); |
138 | return 0; | 138 | return 0; |
139 | } | 139 | } |