aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/dell-laptop.c
diff options
context:
space:
mode:
authorAlex Hung <alex.hung@canonical.com>2017-02-16 20:58:03 +0800
committerDarren Hart <dvhart@linux.intel.com>2017-02-24 23:48:53 -0800
commit8d2c4538dbc7154c4aed1364db127a0e51dbd459 (patch)
treef8839033e06375075d7d357e208fe8a004ab7590 /drivers/platform/x86/dell-laptop.c
parentplatform/x86: intel-hid: Support 5 button array (diff)
downloadlinux-dev-8d2c4538dbc7154c4aed1364db127a0e51dbd459.tar.xz
linux-dev-8d2c4538dbc7154c4aed1364db127a0e51dbd459.zip
platform/x86: dell-laptop: Add Latitude 7480 and others to the DMI whitelist
This is to support Latitude 7480 and many other newer Dell laptops. Signed-off-by: Alex Hung <alex.hung@canonical.com> Reviewed-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to '')
-rw-r--r--drivers/platform/x86/dell-laptop.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c
index 14392a01ab36..f57dd282a002 100644
--- a/drivers/platform/x86/dell-laptop.c
+++ b/drivers/platform/x86/dell-laptop.c
@@ -106,6 +106,12 @@ static const struct dmi_system_id dell_device_table[] __initconst = {
},
},
{
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_MATCH(DMI_CHASSIS_TYPE, "10"), /*Notebook*/
+ },
+ },
+ {
.ident = "Dell Computer Corporation",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Dell Computer Corporation"),