提交 98acd46f 编写于 作者: K Keith Packard

drm/i915: Apple DMI info has inconsistent SYS_VENDOR information

Some machines say 'Apple Inc.' while others say 'Apple Computer, Inc'.
Switch the test to just look for 'Apple' instead.
Signed-off-by: NKeith Packard <keithp@keithp.com>
上级 aa93d632
...@@ -456,7 +456,7 @@ static const struct dmi_system_id intel_no_lvds[] = { ...@@ -456,7 +456,7 @@ static const struct dmi_system_id intel_no_lvds[] = {
.callback = intel_no_lvds_dmi_callback, .callback = intel_no_lvds_dmi_callback,
.ident = "Apple Mac Mini (Core series)", .ident = "Apple Mac Mini (Core series)",
.matches = { .matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."), DMI_MATCH(DMI_SYS_VENDOR, "Apple"),
DMI_MATCH(DMI_PRODUCT_NAME, "Macmini1,1"), DMI_MATCH(DMI_PRODUCT_NAME, "Macmini1,1"),
}, },
}, },
...@@ -464,7 +464,7 @@ static const struct dmi_system_id intel_no_lvds[] = { ...@@ -464,7 +464,7 @@ static const struct dmi_system_id intel_no_lvds[] = {
.callback = intel_no_lvds_dmi_callback, .callback = intel_no_lvds_dmi_callback,
.ident = "Apple Mac Mini (Core 2 series)", .ident = "Apple Mac Mini (Core 2 series)",
.matches = { .matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."), DMI_MATCH(DMI_SYS_VENDOR, "Apple"),
DMI_MATCH(DMI_PRODUCT_NAME, "Macmini2,1"), DMI_MATCH(DMI_PRODUCT_NAME, "Macmini2,1"),
}, },
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册