x86, platform: Export x86_platform to modules
authorH. Peter Anvin <hpa@linux.intel.com>
Wed, 7 Jul 2010 23:57:46 +0000 (16:57 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 8 Jul 2010 00:05:05 +0000 (17:05 -0700)
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

index 61a1e8c7e19f8169e736bd329e9b2b72c87c3cce..ebfb8e4c9f224d30069485c5fa5f72838dd1dd95 100644 (file)
@@ -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);