Commit 3e903bd9 authored by David Daney's avatar David Daney Committed by Ralf Baechle

MIPS: Export cvmx_sysinfo_get needed by octeon-ethernet driver.

Signed-off-by: default avatarDavid Daney <ddaney@caviumnetworks.com>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 6fa044ab
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
* This module provides system/board/application information obtained * This module provides system/board/application information obtained
* by the bootloader. * by the bootloader.
*/ */
#include <linux/module.h>
#include <asm/octeon/cvmx.h> #include <asm/octeon/cvmx.h>
#include <asm/octeon/cvmx-spinlock.h> #include <asm/octeon/cvmx-spinlock.h>
...@@ -69,6 +70,7 @@ struct cvmx_sysinfo *cvmx_sysinfo_get(void) ...@@ -69,6 +70,7 @@ struct cvmx_sysinfo *cvmx_sysinfo_get(void)
{ {
return &(state.sysinfo); return &(state.sysinfo);
} }
EXPORT_SYMBOL(cvmx_sysinfo_get);
/** /**
* This function is used in non-simple executive environments (such as * This function is used in non-simple executive environments (such as
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment