backlight: mbp_nvidia_bl: add support for MacBookAir 1,1
authorHenrik Rydberg <rydberg@euromail.se>
Mon, 7 Sep 2009 13:19:54 +0000 (14:19 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Mon, 7 Sep 2009 13:19:54 +0000 (14:19 +0100)
Add LCD backlight support for the Intel GMA965 found in the MacBookAir
1,1.

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Acked-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
drivers/video/backlight/mbp_nvidia_bl.c

index 3bb4c0a50c62f501fca12471a09c046141d6ddca..9fc7a531718a9f362ca82cddebb80265a7969f55 100644 (file)
@@ -164,6 +164,15 @@ static const struct dmi_system_id __initdata mbp_device_table[] = {
                },
                .driver_data    = (void *)&intel_chipset_data,
        },
+       {
+               .callback       = mbp_dmi_match,
+               .ident          = "MacBookAir 1,1",
+               .matches        = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "MacBookAir1,1"),
+               },
+               .driver_data    = (void *)&intel_chipset_data,
+       },
        {
                .callback       = mbp_dmi_match,
                .ident          = "MacBook 5,1",