of: Move definition of of_find_next_cache_node into common code.
authorSudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Wed, 18 Sep 2013 10:53:05 +0000 (11:53 +0100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 31 Oct 2013 05:19:19 +0000 (16:19 +1100)
commita3e31b4588443f37d82195096c6b30dff1c152c2
tree8a5dfd747a2d55e7106f2faeeb97d4e29fef6e15
parentafaf53985431bb295e4b723b08a55d0540cf8070
of: Move definition of of_find_next_cache_node into common code.

Since the definition of_find_next_cache_node is architecture independent,
the existing definition in powerpc can be moved to driver/of/base.c

Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Sudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/prom.h
arch/powerpc/kernel/prom.c
drivers/of/base.c
include/linux/of.h