diff options
Diffstat (limited to 'drivers/platform/x86/dell-laptop.c')
-rw-r--r-- | drivers/platform/x86/dell-laptop.c | 34 |
1 files changed, 29 insertions, 5 deletions
diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c index d93e962f2610..a05fc9c955d8 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[] = { | |||
117 | }, | 117 | }, |
118 | { } | 118 | { } |
119 | }; | 119 | }; |
120 | MODULE_DEVICE_TABLE(dmi, dell_device_table); | ||
120 | 121 | ||
121 | static struct dmi_system_id __devinitdata dell_blacklist[] = { | 122 | static struct dmi_system_id __devinitdata dell_blacklist[] = { |
122 | /* Supported by compal-laptop */ | 123 | /* Supported by compal-laptop */ |
@@ -184,6 +185,33 @@ static struct dmi_system_id __devinitdata dell_quirks[] = { | |||
184 | }, | 185 | }, |
185 | .driver_data = &quirk_dell_vostro_v130, | 186 | .driver_data = &quirk_dell_vostro_v130, |
186 | }, | 187 | }, |
188 | { | ||
189 | .callback = dmi_matched, | ||
190 | .ident = "Dell Vostro 3555", | ||
191 | .matches = { | ||
192 | DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), | ||
193 | DMI_MATCH(DMI_PRODUCT_NAME, "Vostro 3555"), | ||
194 | }, | ||
195 | .driver_data = &quirk_dell_vostro_v130, | ||
196 | }, | ||
197 | { | ||
198 | .callback = dmi_matched, | ||
199 | .ident = "Dell Inspiron N311z", | ||
200 | .matches = { | ||
201 | DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), | ||
202 | DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron N311z"), | ||
203 | }, | ||
204 | .driver_data = &quirk_dell_vostro_v130, | ||
205 | }, | ||
206 | { | ||
207 | .callback = dmi_matched, | ||
208 | .ident = "Dell Inspiron M5110", | ||
209 | .matches = { | ||
210 | DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), | ||
211 | DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron M5110"), | ||
212 | }, | ||
213 | .driver_data = &quirk_dell_vostro_v130, | ||
214 | }, | ||
187 | }; | 215 | }; |
188 | 216 | ||
189 | static struct calling_interface_buffer *buffer; | 217 | static struct calling_interface_buffer *buffer; |
@@ -236,9 +264,7 @@ static void __init find_tokens(const struct dmi_header *dm, void *dummy) | |||
236 | { | 264 | { |
237 | switch (dm->type) { | 265 | switch (dm->type) { |
238 | case 0xd4: /* Indexed IO */ | 266 | case 0xd4: /* Indexed IO */ |
239 | break; | ||
240 | case 0xd5: /* Protected Area Type 1 */ | 267 | case 0xd5: /* Protected Area Type 1 */ |
241 | break; | ||
242 | case 0xd6: /* Protected Area Type 2 */ | 268 | case 0xd6: /* Protected Area Type 2 */ |
243 | break; | 269 | break; |
244 | case 0xda: /* Calling interface */ | 270 | case 0xda: /* Calling interface */ |
@@ -615,6 +641,7 @@ static void touchpad_led_set(struct led_classdev *led_cdev, | |||
615 | static struct led_classdev touchpad_led = { | 641 | static struct led_classdev touchpad_led = { |
616 | .name = "dell-laptop::touchpad", | 642 | .name = "dell-laptop::touchpad", |
617 | .brightness_set = touchpad_led_set, | 643 | .brightness_set = touchpad_led_set, |
644 | .flags = LED_CORE_SUSPENDRESUME, | ||
618 | }; | 645 | }; |
619 | 646 | ||
620 | static int __devinit touchpad_led_init(struct device *dev) | 647 | static int __devinit touchpad_led_init(struct device *dev) |
@@ -794,6 +821,3 @@ module_exit(dell_exit); | |||
794 | MODULE_AUTHOR("Matthew Garrett <mjg@redhat.com>"); | 821 | MODULE_AUTHOR("Matthew Garrett <mjg@redhat.com>"); |
795 | MODULE_DESCRIPTION("Dell laptop driver"); | 822 | MODULE_DESCRIPTION("Dell laptop driver"); |
796 | MODULE_LICENSE("GPL"); | 823 | MODULE_LICENSE("GPL"); |
797 | MODULE_ALIAS("dmi:*svnDellInc.:*:ct8:*"); | ||
798 | MODULE_ALIAS("dmi:*svnDellInc.:*:ct9:*"); | ||
799 | MODULE_ALIAS("dmi:*svnDellComputerCorporation.:*:ct8:*"); | ||