summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDan Streetman <ddstreet@ieee.org>2015-05-07 19:49:12 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2015-05-11 09:06:37 +0200
commitb130e7c04f1130f241eddf72098a6e08d41d08fe (patch)
treeec7d033d759849d83abb305e624ed05c6760bfc5 /arch
parentcrypto: testmgr - add test cases for CRC32 (diff)
downloadlinux-b130e7c04f1130f241eddf72098a6e08d41d08fe.tar.xz
linux-b130e7c04f1130f241eddf72098a6e08d41d08fe.zip
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 <ddstreet@ieee.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/kernel/prom.c1
1 files changed, 1 insertions, 0 deletions
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