summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDavid Daney <ddaney@caviumnetworks.com>2009-05-05 17:35:17 -0700
committerRalf Baechle <ralf@linux-mips.org>2009-06-17 11:06:29 +0100
commit3e903bd9b192fe9739bb960191402d3b97ef4f6c (patch)
tree339b80134e3091de47ac06b3f53fd0fdbcb99731 /arch
parent6fa044ab8ab609bf95423b2841e20a2f4bb3a86d (diff)
downloadtalos-op-linux-3e903bd9b192fe9739bb960191402d3b97ef4f6c.tar.gz
talos-op-linux-3e903bd9b192fe9739bb960191402d3b97ef4f6c.zip
MIPS: Export cvmx_sysinfo_get needed by octeon-ethernet driver.
Signed-off-by: David Daney <ddaney@caviumnetworks.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/cavium-octeon/executive/cvmx-sysinfo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/cavium-octeon/executive/cvmx-sysinfo.c b/arch/mips/cavium-octeon/executive/cvmx-sysinfo.c
index 4812370706a1..e5838890cba5 100644
--- a/arch/mips/cavium-octeon/executive/cvmx-sysinfo.c
+++ b/arch/mips/cavium-octeon/executive/cvmx-sysinfo.c
@@ -29,6 +29,7 @@
* This module provides system/board/application information obtained
* by the bootloader.
*/
+#include <linux/module.h>
#include <asm/octeon/cvmx.h>
#include <asm/octeon/cvmx-spinlock.h>
@@ -69,6 +70,7 @@ struct cvmx_sysinfo *cvmx_sysinfo_get(void)
{
return &(state.sysinfo);
}
+EXPORT_SYMBOL(cvmx_sysinfo_get);
/**
* This function is used in non-simple executive environments (such as
OpenPOWER on IntegriCloud