summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel_oaktrail.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2011-11-14 09:27:00 +0100
committerMatthew Garrett <mjg@redhat.com>2012-03-20 17:02:02 +0100
commitdc2cbb3b443868c5612c63dd38b005294af3f0de (patch)
treec761e8fec549afba3bbd7efc85543212af5f3ac5 /drivers/platform/x86/intel_oaktrail.c
parentcompal-laptop: switch to using use MODULE_DEVICE_TABLE (diff)
downloadlinux-dc2cbb3b443868c5612c63dd38b005294af3f0de.tar.xz
linux-dc2cbb3b443868c5612c63dd38b005294af3f0de.zip
intel-oaktrail: switch to using use MODULE_DEVICE_TABLE
Use MODULE_DEVCE_TABLE instead of rolling MODULE_ALIAS by hand. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform/x86/intel_oaktrail.c')
-rw-r--r--drivers/platform/x86/intel_oaktrail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/intel_oaktrail.c b/drivers/platform/x86/intel_oaktrail.c
index 6ee0b5c90933..79a0c2f6be53 100644
--- a/drivers/platform/x86/intel_oaktrail.c
+++ b/drivers/platform/x86/intel_oaktrail.c
@@ -313,6 +313,7 @@ static struct dmi_system_id __initdata oaktrail_dmi_table[] = {
},
{ }
};
+MODULE_DEVICE_TABLE(dmi, oaktrail_dmi_table);
static int __init oaktrail_init(void)
{
@@ -394,4 +395,3 @@ MODULE_AUTHOR("Yin Kangkai (kangkai.yin@intel.com)");
MODULE_DESCRIPTION("Intel Oaktrail Platform ACPI Extras");
MODULE_VERSION(DRIVER_VERSION);
MODULE_LICENSE("GPL");
-MODULE_ALIAS("dmi:*:svnIntelCorporation:pnOakTrailplatform:*");