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>
This commit is contained in:
Родитель
6fa044ab8a
Коммит
3e903bd9b1
|
@ -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)
|
||||||
{
|
{
|
||||||
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
|
||||||
|
|
Загрузка…
Ссылка в новой задаче