Skip to contentSkip to conversation

intel-oaktrail: switch to using use MODULE_DEVICE_TABLE

PATCH New Dmitry Torokhov 1 participant 1 message Nov 14, 2011 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 intel-oaktrail: switch to using use MODULE_DEVICE_TABLE

Use MODULE_DEVCE_TABLE instead of rolling MODULE_ALIAS by hand.

---
 drivers/platform/x86/intel_oaktrail.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/platform/x86/intel_oaktrail.c +1 -1
index 7f88c79..62a1258 100644
@@ -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 ([email protected])");
 MODULE_DESCRIPTION("Intel Oaktrail Platform ACPI Extras");
 MODULE_VERSION(DRIVER_VERSION);
 MODULE_LICENSE("GPL");
-MODULE_ALIAS("dmi:*:svnIntelCorporation:pnOakTrailplatform:*");
Signature · 1 line
1.7.6.4