From: Tommaso Massimi Date: Tue, 20 Sep 2011 16:16:09 +0000 (-0700) Subject: Platform: samsung_laptop: add support for X520 machines. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7500eeb08a179e61a4219288c21407d63d1e9c64;p=linux-beck.git 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 Signed-off-by: Greg Kroah-Hartman Signed-off-by: Matthew Garrett --- 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 @@ -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, }, { }, };