summaryrefslogtreecommitdiffstats
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
parentbd5762a0c1c9ae66bd0ece6959bbc5013ab95dcd (diff)
downloadop-kernel-dev-8d2c4538dbc7154c4aed1364db127a0e51dbd459.zip
op-kernel-dev-8d2c4538dbc7154c4aed1364db127a0e51dbd459.tar.gz
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>
-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 14392a0..f57dd28 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"),
OpenPOWER on IntegriCloud