Samsung Laptop platform driver: support N510
authorJ Witteveen <jwitteve@liacs.nl>
Sun, 3 Jul 2011 11:15:44 +0000 (13:15 +0200)
committerMatthew Garrett <mjg@redhat.com>
Fri, 5 Aug 2011 18:46:08 +0000 (14:46 -0400)
The N510 benefits from this code as well. Below is a patch to include support.

Signed-off-by: Jouke Witteveen <j.witteveen@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/samsung-laptop.c

index d347116..e12c88e 100644 (file)
@@ -521,6 +521,16 @@ static struct dmi_system_id __initdata samsung_dmi_table[] = {
                .callback = dmi_check_cb,
        },
        {
+               .ident = "N510",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR,
+                                       "SAMSUNG ELECTRONICS CO., LTD."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "N510"),
+                       DMI_MATCH(DMI_BOARD_NAME, "N510"),
+               },
+               .callback = dmi_check_cb,
+       },
+       {
                .ident = "X125",
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR,