mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Erik Andren <erik.andren@gmail.com>
To: mjg@redhat.com
Cc: linux-kernel@vger.kernel.org,
	linux-pm@lists.linux-foundation.org,
	Erik Andren <erik.andren@gmail.com>
Subject: [PATCH 1/1] platform/x86/dell-laptop: Add another Dell laptop to the DMI whitelist
Date: Sun, 14 Feb 2010 11:54:57 +0100	[thread overview]
Message-ID: <1266144897-2681-1-git-send-email-erik.andren@gmail.com> (raw)

The Latitude C640 has another variation of dell in its DMI vendor entry.
Add it to the whitelist in order to enjoy the sweet fruits of software backlight toggling.

Signed-off-by: Erik Andren <erik.andren@gmail.com>
---
 drivers/platform/x86/dell-laptop.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c
index 3780994..b5246f1 100644
--- a/drivers/platform/x86/dell-laptop.c
+++ b/drivers/platform/x86/dell-laptop.c
@@ -79,6 +79,13 @@ static const struct dmi_system_id __initdata dell_device_table[] = {
 			DMI_MATCH(DMI_CHASSIS_TYPE, "8"),
 		},
 	},
+	{
+		.ident = "Dell Computer Corporation",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Computer Corporation"),
+			DMI_MATCH(DMI_CHASSIS_TYPE, "8"),
+		},
+	},
 	{ }
 };
 
-- 
1.6.3.3


             reply	other threads:[~2010-02-14 10:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-14 10:54 Erik Andren [this message]
2010-02-14 15:47 ` Andreas Mohr
2010-02-14 16:57   ` Matthew Garrett
2010-02-14 16:55 ` Matthew Garrett
2010-02-14 18:59   ` Erik Andrén
2010-02-14 19:04     ` Matthew Garrett
2010-02-14 19:07       ` Erik Andrén

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=1266144897-2681-1-git-send-email-erik.andren@gmail.com \
    --to=erik.andren@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=mjg@redhat.com \
    /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

all inboxes | Powered by JetHome®