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>
This commit is contained in:
parent
4585aba78a
commit
dc2cbb3b44
1 changed files with 1 additions and 1 deletions
|
@ -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:*");
|
||||
|
|
Loading…
Reference in a new issue