From: Dan Streetman Date: Thu, 7 May 2015 17:49:12 +0000 (-0400) Subject: powerpc: export of_get_ibm_chip_id function X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b130e7c04f1130f241eddf72098a6e08d41d08fe;p=openwrt%2Fstaging%2Fblogic.git powerpc: export of_get_ibm_chip_id function Export the of_get_ibm_chip_id() function. This will be used by the PowerNV NX-842 driver. Signed-off-by: Dan Streetman Signed-off-by: Herbert Xu --- diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c index 308c5e15676b..ea2cea7eaef1 100644 --- a/arch/powerpc/kernel/prom.c +++ b/arch/powerpc/kernel/prom.c @@ -800,6 +800,7 @@ int of_get_ibm_chip_id(struct device_node *np) } return -1; } +EXPORT_SYMBOL(of_get_ibm_chip_id); /** * cpu_to_chip_id - Return the cpus chip-id