From: Dmitry Torokhov Date: Mon, 14 Nov 2011 08:27:00 +0000 (-0800) Subject: intel-oaktrail: switch to using use MODULE_DEVICE_TABLE X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=dc2cbb3b443868c5612c63dd38b005294af3f0de;p=linux-beck.git 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 Signed-off-by: Matthew Garrett --- 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:*");