diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-11-14 03:25:54 -0500 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2012-03-20 12:02:01 -0400 |
commit | 4585aba78afd598f034c05506b3c870ed128fd6e (patch) | |
tree | a7dba62534c3f55c0a7d15f3f11d2421a834c3d1 /drivers/platform/x86/compal-laptop.c | |
parent | 35ae64fe6d08bd2f7c9f9c3c6e49182d5573341b (diff) |
compal-laptop: 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/compal-laptop.c')
-rw-r--r-- | drivers/platform/x86/compal-laptop.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/platform/x86/compal-laptop.c b/drivers/platform/x86/compal-laptop.c index d96734478324..1887e2f166a4 100644 --- a/drivers/platform/x86/compal-laptop.c +++ b/drivers/platform/x86/compal-laptop.c | |||
@@ -882,6 +882,7 @@ static struct dmi_system_id __initdata compal_dmi_table[] = { | |||
882 | }, | 882 | }, |
883 | { } | 883 | { } |
884 | }; | 884 | }; |
885 | MODULE_DEVICE_TABLE(dmi, compal_dmi_table); | ||
885 | 886 | ||
886 | static void initialize_power_supply_data(struct compal_data *data) | 887 | static void initialize_power_supply_data(struct compal_data *data) |
887 | { | 888 | { |
@@ -1097,16 +1098,3 @@ MODULE_AUTHOR("Roald Frederickx (roald.frederickx@gmail.com)"); | |||
1097 | MODULE_DESCRIPTION("Compal Laptop Support"); | 1098 | MODULE_DESCRIPTION("Compal Laptop Support"); |
1098 | MODULE_VERSION(DRIVER_VERSION); | 1099 | MODULE_VERSION(DRIVER_VERSION); |
1099 | MODULE_LICENSE("GPL"); | 1100 | MODULE_LICENSE("GPL"); |
1100 | |||
1101 | MODULE_ALIAS("dmi:*:rnIFL90:rvrIFT00:*"); | ||
1102 | MODULE_ALIAS("dmi:*:rnIFL90:rvrREFERENCE:*"); | ||
1103 | MODULE_ALIAS("dmi:*:rnIFL91:rvrIFT00:*"); | ||
1104 | MODULE_ALIAS("dmi:*:rnJFL92:rvrIFT00:*"); | ||
1105 | MODULE_ALIAS("dmi:*:rnIFT00:rvrIFT00:*"); | ||
1106 | MODULE_ALIAS("dmi:*:rnJHL90:rvrREFERENCE:*"); | ||
1107 | MODULE_ALIAS("dmi:*:svnDellInc.:pnInspiron910:*"); | ||
1108 | MODULE_ALIAS("dmi:*:svnDellInc.:pnInspiron1010:*"); | ||
1109 | MODULE_ALIAS("dmi:*:svnDellInc.:pnInspiron1011:*"); | ||
1110 | MODULE_ALIAS("dmi:*:svnDellInc.:pnInspiron1012:*"); | ||
1111 | MODULE_ALIAS("dmi:*:svnDellInc.:pnInspiron1110:*"); | ||
1112 | MODULE_ALIAS("dmi:*:svnDellInc.:pnInspiron1210:*"); | ||