of/fdt: Make fdt blob input parameters of unflatten functions const
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 13 May 2015 14:33:56 +0000 (16:33 +0200)
committerRob Herring <robh@kernel.org>
Thu, 28 May 2015 18:00:25 +0000 (13:00 -0500)
commit3b1a2c97210b1edd1a999ff8c1f72ab28f7609f7
tree80f16d5e2609d3260ef5fceeec7d31e143d454bf
parent3386e0fa905c31bf1dafa2cbe2ecceb7e5ce2e66
of/fdt: Make fdt blob input parameters of unflatten functions const

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+renesas@glider.be>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/fdt.c
include/linux/of_fdt.h