summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2010-07-07 16:57:46 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2010-07-07 17:05:05 -0700
commit72550b3ae545c75897c769d43d62d4be3f3d48fe (patch)
tree7a5bdb8ce1ff4c7a40341cf3768a04b9b9a66708
parent78178c7d6e127fff6dba027315fd6914304b05cf (diff)
downloadop-kernel-dev-72550b3ae545c75897c769d43d62d4be3f3d48fe.zip
op-kernel-dev-72550b3ae545c75897c769d43d62d4be3f3d48fe.tar.gz
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>
-rw-r--r--arch/x86/kernel/x86_init.c3
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);
OpenPOWER on IntegriCloud