From patchwork Wed Dec 22 20:36:45 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamal Mostafa X-Patchwork-Id: 76448 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id ED57AB6F07 for ; Thu, 23 Dec 2010 07:37:10 +1100 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from ) id 1PVVQg-0007qc-Ef; Wed, 22 Dec 2010 20:36:58 +0000 Received: from qmta12.emeryville.ca.mail.comcast.net ([76.96.27.227]) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from ) id 1PVVQd-0007pF-UQ for kernel-team@lists.ubuntu.com; Wed, 22 Dec 2010 20:36:56 +0000 Received: from omta05.emeryville.ca.mail.comcast.net ([76.96.30.43]) by qmta12.emeryville.ca.mail.comcast.net with comcast id mCto1f0040vp7WLACLcu19; Wed, 22 Dec 2010 20:36:54 +0000 Received: from fourier ([98.234.57.120]) by omta05.emeryville.ca.mail.comcast.net with comcast id mLct1f00D2beErE8RLctDd; Wed, 22 Dec 2010 20:36:54 +0000 Received: from kamal by fourier with local (Exim 4.72) (envelope-from ) id 1PVVQa-00016c-4a; Wed, 22 Dec 2010 12:36:52 -0800 From: Kamal Mostafa To: stable@kernel.org Subject: [PATCH] dell-laptop: Add another Dell laptop family to the DMI whitelist Date: Wed, 22 Dec 2010 12:36:45 -0800 Message-Id: <1293050205-4224-1-git-send-email-kamal@canonical.com> X-Mailer: git-send-email 1.7.1 Cc: Kamal Mostafa , kernel-team@lists.ubuntu.com, Rezwanul Kabir , Matthew Garrett X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com From: Rezwanul Kabir This is to support Precision M4500 and others. BugLink: http://bugs.launchpad.net/bugs/693078 Signed-off-by: Rezwanul Kabir Signed-off-by: Matthew Garrett (cherry picked from commit 410d44c74cf9942e3055d5b7d73953fac8efbacb) Signed-off-by: Kamal Mostafa --- 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 6110601..0fb56e0 100644 --- a/drivers/platform/x86/dell-laptop.c +++ b/drivers/platform/x86/dell-laptop.c @@ -83,6 +83,12 @@ static const struct dmi_system_id __initdata dell_device_table[] = { }, }, { + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), + DMI_MATCH(DMI_CHASSIS_TYPE, "9"), /*Laptop*/ + }, + }, + { .ident = "Dell Computer Corporation", .matches = { DMI_MATCH(DMI_SYS_VENDOR, "Dell Computer Corporation"), @@ -628,4 +634,5 @@ MODULE_AUTHOR("Matthew Garrett "); MODULE_DESCRIPTION("Dell laptop driver"); MODULE_LICENSE("GPL"); MODULE_ALIAS("dmi:*svnDellInc.:*:ct8:*"); +MODULE_ALIAS("dmi:*svnDellInc.:*:ct9:*"); MODULE_ALIAS("dmi:*svnDellComputerCorporation.:*:ct8:*");