Browse Source

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>
Alex Hung 8 years ago
parent
commit
8d2c4538db
1 changed files with 6 additions and 0 deletions
  1. 6 0
      drivers/platform/x86/dell-laptop.c

+ 6 - 0
drivers/platform/x86/dell-laptop.c

@@ -105,6 +105,12 @@ static const struct dmi_system_id dell_device_table[] __initconst = {
 			DMI_MATCH(DMI_CHASSIS_TYPE, "9"), /*Laptop*/
 		},
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_CHASSIS_TYPE, "10"), /*Notebook*/
+		},
+	},
 	{
 		.ident = "Dell Computer Corporation",
 		.matches = {