aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-06-14 15:31:58 -0400
committerKeith Packard <keithp@keithp.com>2009-06-18 17:59:10 -0400
commit98acd46f356e560c371c0e416d92e8e56be31804 (patch)
treecba3a67c2e614f70ae15a9ca8c82dbf00c96278d /drivers/gpu
parentaa93d632c496184e5b779dbcf961bf1c6ececf0b (diff)
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: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/i915/intel_lvds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_lvds.c b/drivers/gpu/drm/i915/intel_lvds.c
index f073ed8432e..345e5055f1c 100644
--- a/drivers/gpu/drm/i915/intel_lvds.c
+++ b/drivers/gpu/drm/i915/intel_lvds.c
@@ -456,7 +456,7 @@ static const struct dmi_system_id intel_no_lvds[] = {
456 .callback = intel_no_lvds_dmi_callback, 456 .callback = intel_no_lvds_dmi_callback,
457 .ident = "Apple Mac Mini (Core series)", 457 .ident = "Apple Mac Mini (Core series)",
458 .matches = { 458 .matches = {
459 DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."), 459 DMI_MATCH(DMI_SYS_VENDOR, "Apple"),
460 DMI_MATCH(DMI_PRODUCT_NAME, "Macmini1,1"), 460 DMI_MATCH(DMI_PRODUCT_NAME, "Macmini1,1"),
461 }, 461 },
462 }, 462 },
@@ -464,7 +464,7 @@ static const struct dmi_system_id intel_no_lvds[] = {
464 .callback = intel_no_lvds_dmi_callback, 464 .callback = intel_no_lvds_dmi_callback,
465 .ident = "Apple Mac Mini (Core 2 series)", 465 .ident = "Apple Mac Mini (Core 2 series)",
466 .matches = { 466 .matches = {
467 DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."), 467 DMI_MATCH(DMI_SYS_VENDOR, "Apple"),
468 DMI_MATCH(DMI_PRODUCT_NAME, "Macmini2,1"), 468 DMI_MATCH(DMI_PRODUCT_NAME, "Macmini2,1"),
469 }, 469 },
470 }, 470 },