diff options
author | Tommaso Massimi <tmassimi@gmail.com> | 2011-09-20 12:16:09 -0400 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2011-10-24 10:52:40 -0400 |
commit | 7500eeb08a179e61a4219288c21407d63d1e9c64 (patch) | |
tree | aebf098e6fbe08d44ec6be4c799b2fcea079f548 /drivers/platform/x86/samsung-laptop.c | |
parent | f87d02996f05ec1789ceecce9ec839f629b7aa80 (diff) |
Platform: samsung_laptop: add support for X520 machines.
my samsung laptop would be very happy if you add
these lines to the file drivers/platform/x86/samsung-laptop.c
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform/x86/samsung-laptop.c')
-rw-r--r-- | drivers/platform/x86/samsung-laptop.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/platform/x86/samsung-laptop.c b/drivers/platform/x86/samsung-laptop.c index c209f1fe6962..09e26bfd4643 100644 --- a/drivers/platform/x86/samsung-laptop.c +++ b/drivers/platform/x86/samsung-laptop.c | |||
@@ -771,6 +771,15 @@ static struct dmi_system_id __initdata samsung_dmi_table[] = { | |||
771 | }, | 771 | }, |
772 | .callback = dmi_check_cb, | 772 | .callback = dmi_check_cb, |
773 | }, | 773 | }, |
774 | { | ||
775 | .ident = "X520", | ||
776 | .matches = { | ||
777 | DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."), | ||
778 | DMI_MATCH(DMI_PRODUCT_NAME, "X520"), | ||
779 | DMI_MATCH(DMI_BOARD_NAME, "X520"), | ||
780 | }, | ||
781 | .callback = dmi_check_cb, | ||
782 | }, | ||
774 | { }, | 783 | { }, |
775 | }; | 784 | }; |
776 | MODULE_DEVICE_TABLE(dmi, samsung_dmi_table); | 785 | MODULE_DEVICE_TABLE(dmi, samsung_dmi_table); |