21 lines
839 B
Diff
21 lines
839 B
Diff
---
|
|
v2:
|
|
- Commit message reflects Alienware devices may not necessarily support
|
|
the SMBIOS interface
|
|
- Commit message now has "Tested on"
|
|
---
|
|
drivers/platform/x86/dell/dell-smbios-base.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/drivers/platform/x86/dell/dell-smbios-base.c b/drivers/platform/x86/dell/dell-smbios-base.c
|
|
index 73e41eb69..01c72b91a 100644
|
|
--- a/drivers/platform/x86/dell/dell-smbios-base.c
|
|
+++ b/drivers/platform/x86/dell/dell-smbios-base.c
|
|
@@ -576,6 +576,7 @@ static int __init dell_smbios_init(void)
|
|
int ret, wmi, smm;
|
|
|
|
if (!dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "Dell System", NULL) &&
|
|
+ !dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "Alienware", NULL) &&
|
|
!dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "www.dell.com", NULL)) {
|
|
pr_err("Unable to run on non-Dell system\n");
|
|
return -ENODEV;
|