Re: [PATCH] of/fdt: Make fdt blob input parameters of unflatten functions const

2015-05-29 Thread Rob Herring
On Wed, May 13, 2015 at 9:33 AM, Geert Uytterhoeven wrote: > Operations to unflatten fdt blobs never modify the input blobs, hence > make them const. Now we no longer need to cast arbitrary const data to > "void *" when calling of_fdt_unflatten_tree(). > > Signed-off-by: Geert Uytterhoeven

Re: [PATCH] of/fdt: Make fdt blob input parameters of unflatten functions const

2015-05-29 Thread Rob Herring
On Wed, May 13, 2015 at 9:33 AM, Geert Uytterhoeven geert+rene...@glider.be wrote: Operations to unflatten fdt blobs never modify the input blobs, hence make them const. Now we no longer need to cast arbitrary const data to void * when calling of_fdt_unflatten_tree(). Signed-off-by: Geert

[PATCH] of/fdt: Make fdt blob input parameters of unflatten functions const

2015-05-13 Thread Geert Uytterhoeven
Operations to unflatten fdt blobs never modify the input blobs, hence make them const. Now we no longer need to cast arbitrary const data to "void *" when calling of_fdt_unflatten_tree(). Signed-off-by: Geert Uytterhoeven --- drivers/of/fdt.c | 6 +++--- include/linux/of_fdt.h | 2 +- 2

[PATCH] of/fdt: Make fdt blob input parameters of unflatten functions const

2015-05-13 Thread Geert Uytterhoeven
Operations to unflatten fdt blobs never modify the input blobs, hence make them const. Now we no longer need to cast arbitrary const data to void * when calling of_fdt_unflatten_tree(). Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be --- drivers/of/fdt.c | 6 +++---