]> git.baikalelectronics.ru Git - kernel.git/commit
of: implement of_node_to_nid as a weak function
authorRob Herring <rob.herring@calxeda.com>
Tue, 17 Sep 2013 15:42:50 +0000 (10:42 -0500)
committerRob Herring <rob.herring@calxeda.com>
Thu, 10 Oct 2013 01:04:07 +0000 (20:04 -0500)
commit9000ae3bc494afa141f4cac9738132ff18035c0f
treea576f97862dc34377dd55734bff47da6bb7603c7
parented915101e5e708b93411ee8af4e2d847313edeb0
of: implement of_node_to_nid as a weak function

Implement of_node_to_nid as weak function to remove the dependency on
asm/prom.h. This is in preparation to make prom.h optional.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Grant Likely <grant.likely@linaro.org>
arch/powerpc/include/asm/prom.h
arch/sparc/include/asm/prom.h
drivers/of/base.c
include/linux/of.h