of/fdt: update of_get_flat_dt_prop in prep for libfdt
authorRob Herring <robh@kernel.org>
Wed, 2 Apr 2014 04:49:03 +0000 (23:49 -0500)
committerRob Herring <robh@kernel.org>
Wed, 30 Apr 2014 05:59:15 +0000 (00:59 -0500)
commit9d0c4dfedd96ee54fc075b16d02f82499c8cc3a6
treebb76a58e00f5aa436c51c1db9841e89ab102d004
parentbba04d965d06abbbe10afd3687742389107e198e
of/fdt: update of_get_flat_dt_prop in prep for libfdt

Make of_get_flat_dt_prop arguments compatible with libfdt fdt_getprop
call in preparation to convert FDT code to use libfdt. Make the return
value const and the property length ptr type an int.

Signed-off-by: Rob Herring <robh@kernel.org>
Tested-by: Michal Simek <michal.simek@xilinx.com>
Tested-by: Grant Likely <grant.likely@linaro.org>
Tested-by: Stephen Chivers <schivers@csc.com>
19 files changed:
arch/arc/kernel/devtree.c
arch/arm/kernel/devtree.c
arch/arm/mach-exynos/exynos.c
arch/arm/mach-vexpress/platsmp.c
arch/arm/plat-samsung/s5p-dev-mfc.c
arch/microblaze/kernel/prom.c
arch/powerpc/kernel/epapr_paravirt.c
arch/powerpc/kernel/fadump.c
arch/powerpc/kernel/prom.c
arch/powerpc/kernel/rtas.c
arch/powerpc/mm/hash_utils_64.c
arch/powerpc/platforms/52xx/efika.c
arch/powerpc/platforms/chrp/setup.c
arch/powerpc/platforms/powernv/opal.c
arch/powerpc/platforms/pseries/setup.c
arch/xtensa/kernel/setup.c
drivers/of/fdt.c
drivers/of/of_reserved_mem.c
include/linux/of_fdt.h