From: Dmitry Torokhov Date: Mon, 14 Nov 2011 08:25:00 +0000 (-0800) Subject: dell-laptop: switch to using use MODULE_DEVICE_TABLE X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=35ae64fe6d08bd2f7c9f9c3c6e49182d5573341b;p=mv-sheeva.git dell-laptop: 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/dell-laptop.c b/drivers/platform/x86/dell-laptop.c index 62d59f13dee..50dac0c9b67 100644 --- a/drivers/platform/x86/dell-laptop.c +++ b/drivers/platform/x86/dell-laptop.c @@ -117,6 +117,7 @@ static const struct dmi_system_id __initdata dell_device_table[] = { }, { } }; +MODULE_DEVICE_TABLE(dmi, dell_device_table); static struct dmi_system_id __devinitdata dell_blacklist[] = { /* Supported by compal-laptop */ @@ -792,6 +793,3 @@ module_exit(dell_exit); MODULE_AUTHOR("Matthew Garrett "); MODULE_DESCRIPTION("Dell laptop driver"); MODULE_LICENSE("GPL"); -MODULE_ALIAS("dmi:*svnDellInc.:*:ct8:*"); -MODULE_ALIAS("dmi:*svnDellInc.:*:ct9:*"); -MODULE_ALIAS("dmi:*svnDellComputerCorporation.:*:ct8:*");