linux-mips
[Top] [All Lists]

[PATCH 2/7] MIPS: Export cvmx_sysinfo_get needed by octeon-ethernet driv

To: linux-mips@linux-mips.org, ralf@linux-mips.org, gregkh@suse.de
Subject: [PATCH 2/7] MIPS: Export cvmx_sysinfo_get needed by octeon-ethernet driver.
From: David Daney <ddaney@caviumnetworks.com>
Date: Tue, 5 May 2009 17:35:17 -0700
Cc: David Daney <ddaney@caviumnetworks.com>
In-reply-to: <4A00DA84.5040101@caviumnetworks.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <4A00DA84.5040101@caviumnetworks.com>
Sender: linux-mips-bounce@linux-mips.org
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
---
 arch/mips/cavium-octeon/executive/cvmx-sysinfo.c |    2 ++
 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 4812370..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
-- 
1.6.0.6


<Prev in Thread] Current Thread [Next in Thread>