diff mbox

[stable] dell-laptop: Add another Dell laptop family to the DMI whitelist

Message ID 1294190153.19248.6.camel@fourier
State Not Applicable
Headers show

Commit Message

Kamal Mostafa Jan. 5, 2011, 1:15 a.m. UTC
On Tue, 2011-01-04 at 15:36 -0800, Greg KH wrote:
> On Wed, Dec 22, 2010 at 12:36:45PM -0800, Kamal Mostafa wrote:
> > From: Rezwanul Kabir <Rezwanul_Kabir@dell.com>
> > 
> > This is to support Precision M4500 and others.
> > 
> > BugLink: http://bugs.launchpad.net/bugs/693078
> > 
> > Signed-off-by: Rezwanul Kabir <Rezwanul_Kabir@dell.com>
> > Signed-off-by: Matthew Garrett <mjg@redhat.com>
> > (cherry picked from commit 410d44c74cf9942e3055d5b7d73953fac8efbacb)
> 
> Which is already in the 2.6.36 kernel release, so why are you sending
> this to me?
> 
> confused,
> 
> greg k-h
> 

(My apologies -- I should have been specific).

I propose this patch for the 2.6.35.y stable tree.

 -Kamal



From: Rezwanul Kabir <Rezwanul_Kabir@dell.com>

This is to support Precision M4500 and others.

BugLink: http://bugs.launchpad.net/bugs/693078

Signed-off-by: Rezwanul Kabir <Rezwanul_Kabir@dell.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
(cherry picked from commit 410d44c74cf9942e3055d5b7d73953fac8efbacb)
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
---
 drivers/platform/x86/dell-laptop.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

                        DMI_MATCH(DMI_SYS_VENDOR, "Dell Computer
Corporation"),
@@ -628,4 +634,5 @@ MODULE_AUTHOR("Matthew Garrett <mjg@redhat.com>");
 MODULE_DESCRIPTION("Dell laptop driver");
 MODULE_LICENSE("GPL");
 MODULE_ALIAS("dmi:*svnDellInc.:*:ct8:*");
+MODULE_ALIAS("dmi:*svnDellInc.:*:ct9:*");
 MODULE_ALIAS("dmi:*svnDellComputerCorporation.:*:ct8:*");
diff mbox

Patch

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 = {