]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Platform: Samsung laptop DMI info for NC210/NC110
authorJason Stubbs <jasonbstubbs@gmail.com>
Tue, 20 Sep 2011 16:16:14 +0000 (09:16 -0700)
committerMatthew Garrett <mjg@redhat.com>
Mon, 24 Oct 2011 14:52:35 +0000 (16:52 +0200)
This patch just adds the DMI info for the samsung laptop driver to work with
the NC210/NC110. It needs the brightness quirk patch for proper support.

Signed-off-by: Jason Stubbs <jasonbstubbs@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/samsung-laptop.c

index 6474e426dae9cc090330743121127077bb246181..8ffab501042329f5023c335d333597f1485b5980 100644 (file)
@@ -737,6 +737,15 @@ static struct dmi_system_id __initdata samsung_dmi_table[] = {
                },
                .callback = dmi_check_cb,
        },
+       {
+               .ident = "NC210/NC110",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "NC210/NC110"),
+                       DMI_MATCH(DMI_BOARD_NAME, "NC210/NC110"),
+               },
+               .callback = dmi_check_cb,
+       },
        { },
 };
 MODULE_DEVICE_TABLE(dmi, samsung_dmi_table);