summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2010-07-08 01:57:46 +0200
committerH. Peter Anvin <hpa@linux.intel.com>2010-07-08 02:05:05 +0200
commit72550b3ae545c75897c769d43d62d4be3f3d48fe (patch)
tree7a5bdb8ce1ff4c7a40341cf3768a04b9b9a66708 /arch
parentMerge branch 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/air... (diff)
downloadlinux-72550b3ae545c75897c769d43d62d4be3f3d48fe.tar.xz
linux-72550b3ae545c75897c769d43d62d4be3f3d48fe.zip
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>
Diffstat (limited to 'arch')
-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 61a1e8c7e19f..ebfb8e4c9f22 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);