]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Platform: samsung_laptop: add support for X520 machines.
authorTommaso Massimi <tmassimi@gmail.com>
Tue, 20 Sep 2011 16:16:09 +0000 (09:16 -0700)
committerMatthew Garrett <mjg@redhat.com>
Mon, 24 Oct 2011 14:52:40 +0000 (16:52 +0200)
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>
drivers/platform/x86/samsung-laptop.c

index c209f1fe696215e87c4c3ae8a13b22c9be958ccb..09e26bfd464343766a3bfcff39d4b6e0a306f179 100644 (file)
@@ -770,6 +770,15 @@ static struct dmi_system_id __initdata samsung_dmi_table[] = {
                        DMI_MATCH(DMI_BOARD_NAME, "NC210/NC110"),
                },
                .callback = dmi_check_cb,
+       },
+               {
+               .ident = "X520",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "X520"),
+                       DMI_MATCH(DMI_BOARD_NAME, "X520"),
+               },
+               .callback = dmi_check_cb,
        },
        { },
 };