X86 platform drivers
 help / color / mirror / Atom feed
From: Jason Stubbs <jasonbstubbs@gmail.com>
To: Greg KH <greg@kroah.com>
Cc: David Herrmann <dh.herrmann@googlemail.com>,
	platform-driver-x86@vger.kernel.org, mjg@redhat.com
Subject: [PATCH] Platform: Samsung laptop DMI info for NC210/NC110
Date: Fri, 26 Aug 2011 21:57:54 +1000	[thread overview]
Message-ID: <4E578A42.4080809@gmail.com> (raw)
In-Reply-To: <20110826000348.GB1314@kroah.com>

From: Jason Stubbs <jasonbstubbs@gmail.com>

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>

---

diff --git a/drivers/platform/x86/samsung-laptop.c b/drivers/platform/x86/samsung-laptop.c
index b193bf0..bae1a97 100644
--- a/drivers/platform/x86/samsung-laptop.c
+++ b/drivers/platform/x86/samsung-laptop.c
@@ -728,6 +728,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);

      parent reply	other threads:[~2011-08-26 11:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-23 16:05 [PATCH] Platform: Brightness quirk for samsung laptop driver David Herrmann
2011-08-24 23:10 ` Greg KH
2011-08-25  3:27   ` Jason Stubbs
2011-08-26  0:03     ` Greg KH
2011-08-26  9:58       ` Jason Stubbs
2011-08-26 11:31         ` David Herrmann
2011-09-01 22:44           ` Greg KH
2011-08-26 11:57       ` Jason Stubbs [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E578A42.4080809@gmail.com \
    --to=jasonbstubbs@gmail.com \
    --cc=dh.herrmann@googlemail.com \
    --cc=greg@kroah.com \
    --cc=mjg@redhat.com \
    --cc=platform-driver-x86@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox