mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/1] platform/x86/dell-laptop: Add another Dell laptop to the DMI whitelist
@ 2010-02-14 10:54 Erik Andren
  2010-02-14 15:47 ` Andreas Mohr
  2010-02-14 16:55 ` Matthew Garrett
  0 siblings, 2 replies; 7+ messages in thread
From: Erik Andren @ 2010-02-14 10:54 UTC (permalink / raw)
  To: mjg; +Cc: linux-kernel, linux-pm, Erik Andren

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-02-14 19:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-14 10:54 [PATCH 1/1] platform/x86/dell-laptop: Add another Dell laptop to the DMI whitelist Erik Andren
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

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®