backlight: mbp_nvidia_bl - add two more MacBookPro variants
authorDaniel Ritz <daniel.ritz@gmx.ch>
Tue, 1 Dec 2009 23:41:31 +0000 (00:41 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Thu, 17 Dec 2009 11:50:26 +0000 (11:50 +0000)
This adds the MacBookPro 5,3 and 5,4 to the DMI tables.

Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
drivers/video/backlight/mbp_nvidia_bl.c

index 581246894733220cfd0f1d7882309544d2851692..2e78b0784bdc8b1dae7083fbee8f052302a30227 100644 (file)
@@ -218,6 +218,24 @@ static const struct dmi_system_id __initdata mbp_device_table[] = {
                },
                .driver_data    = (void *)&nvidia_chipset_data,
        },
+       {
+               .callback       = mbp_dmi_match,
+               .ident          = "MacBookPro 5,3",
+               .matches        = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "MacBookPro5,3"),
+               },
+               .driver_data    = (void *)&nvidia_chipset_data,
+       },
+       {
+               .callback       = mbp_dmi_match,
+               .ident          = "MacBookPro 5,4",
+               .matches        = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "MacBookPro5,4"),
+               },
+               .driver_data    = (void *)&nvidia_chipset_data,
+       },
        {
                .callback       = mbp_dmi_match,
                .ident          = "MacBookPro 5,5",