linux-mips
[Top] [All Lists]

[PATCH] Export IP32 mace symbol

To: ralf@linux-mips.org
Subject: [PATCH] Export IP32 mace symbol
From: Arnaud Giersch <arnaud.giersch@free.fr>
Date: Sun, 13 Nov 2005 00:38:18 +0100
Cc: linux-mips@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Export mace symbol so that it can be used in modules.

Signed-off-by: Arnaud Giersch <arnaud.giersch@free.fr>
---

 Ralf, you told me that this was OK but you did not committed it.

 crime.c |    3 +++
 1 files changed, 3 insertions(+)

diff --git a/arch/mips/sgi-ip32/crime.c b/arch/mips/sgi-ip32/crime.c
--- a/arch/mips/sgi-ip32/crime.c
+++ b/arch/mips/sgi-ip32/crime.c
@@ -10,6 +10,7 @@
 #include <linux/init.h>
 #include <linux/kernel.h>
 #include <linux/interrupt.h>
+#include <linux/module.h>
 #include <asm/bootinfo.h>
 #include <asm/io.h>
 #include <asm/mipsregs.h>
@@ -21,6 +22,8 @@
 struct sgi_crime *crime;
 struct sgi_mace *mace;
 
+EXPORT_SYMBOL_GPL(mace);
+
 void __init crime_init(void)
 {
        unsigned int id, rev;

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