History

platform/x86: dell-sysman: add support for alienware products

Alienware supports firmware-attributes and has its own OEM string.

Crag Wang committed 2 years ago

Commit a5615091 parent e16f7ee1 file · +1 −0Browse files

Unified · Split

drivers/platform/x86/dell/dell-wmi-sysman/sysman.c+1−0
@@ -521,6 +521,7 @@ static int __init sysman_init(void) · 520 unmodified lines
521521 int ret = 0;
522522
523523 if (!dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "Dell System", NULL) &&
524+ !dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "Alienware", NULL) &&
524525 !dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "www.dell.com", NULL)) {
525526 pr_err("Unable to run on non-Dell system\n");
526527 return -ENODEV;