lkml.org 
[lkml]   [2010]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[tip:x86/urgent] x86, platform: Export x86_platform to modules
Commit-ID:  72550b3ae545c75897c769d43d62d4be3f3d48fe
Gitweb: http://git.kernel.org/tip/72550b3ae545c75897c769d43d62d4be3f3d48fe
Author: H. Peter Anvin <hpa@linux.intel.com>
AuthorDate: Wed, 7 Jul 2010 16:57:46 -0700
Committer: H. Peter Anvin <hpa@linux.intel.com>
CommitDate: Wed, 7 Jul 2010 17:05:05 -0700

x86, platform: Export x86_platform to modules

Export x86_platform to modules in preparation of using it for i8042
discovery control.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
LKML-Reference: <1278342202-10973-1-git-send-email-feng.tang@intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Feng Tang <feng.tang@intel.com>
Cc: Dmitry Torokhov <dtor@mail.ru>
---
arch/x86/kernel/x86_init.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/x86_init.c b/arch/x86/kernel/x86_init.c
index 61a1e8c..ebfb8e4 100644
--- a/arch/x86/kernel/x86_init.c
+++ b/arch/x86/kernel/x86_init.c
@@ -5,6 +5,7 @@
*/
#include <linux/init.h>
#include <linux/ioport.h>
+#include <linux/module.h>

#include <asm/bios_ebda.h>
#include <asm/paravirt.h>
@@ -94,3 +95,5 @@ struct x86_platform_ops x86_platform = {
.is_untracked_pat_range = is_ISA_range,
.nmi_init = default_nmi_init
};
+
+EXPORT_SYMBOL_GPL(x86_platform);

\
 
 \ /
  Last update: 2010-07-08 09:19    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site