summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Daney <ddaney@caviumnetworks.com>2009-05-06 00:35:17 (GMT)
committerRalf Baechle <ralf@linux-mips.org>2009-06-17 10:06:29 (GMT)
commit3e903bd9b192fe9739bb960191402d3b97ef4f6c (patch)
tree339b80134e3091de47ac06b3f53fd0fdbcb99731
parent6fa044ab8ab609bf95423b2841e20a2f4bb3a86d (diff)
downloadlinux-3e903bd9b192fe9739bb960191402d3b97ef4f6c.tar.xz
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>
-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 48123707..e583889 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