drm/i915: Apple DMI info has inconsistent SYS_VENDOR information
authorKeith Packard <keithp@keithp.com>
Sun, 14 Jun 2009 19:31:58 +0000 (12:31 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 18 Jun 2009 21:59:10 +0000 (14:59 -0700)
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>
drivers/gpu/drm/i915/intel_lvds.c

index f073ed8432e8fb9547d272653b51315a3bc90de3..345e5055f1c0f4eadc17312dfaaca1ffbd2fecbf 100644 (file)
@@ -456,7 +456,7 @@ static const struct dmi_system_id intel_no_lvds[] = {
                .callback = intel_no_lvds_dmi_callback,
                .ident = "Apple Mac Mini (Core series)",
                .matches = {
-                       DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
+                       DMI_MATCH(DMI_SYS_VENDOR, "Apple"),
                        DMI_MATCH(DMI_PRODUCT_NAME, "Macmini1,1"),
                },
        },
@@ -464,7 +464,7 @@ static const struct dmi_system_id intel_no_lvds[] = {
                .callback = intel_no_lvds_dmi_callback,
                .ident = "Apple Mac Mini (Core 2 series)",
                .matches = {
-                       DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
+                       DMI_MATCH(DMI_SYS_VENDOR, "Apple"),
                        DMI_MATCH(DMI_PRODUCT_NAME, "Macmini2,1"),
                },
        },