This patch add support for the MacBookAir3,1 and MacBookAir3,2 to the
mbp-nvidia-bl driver.
Signed-off-by: Edgar (gimli) Hucek <[email protected]>
On Tue, 2010-11-02 at 08:21 +0100, gimli wrote:
> This patch add support for the MacBookAir3,1 and MacBookAir3,2 to the
> mbp-nvidia-bl driver.
>
> Signed-off-by: Edgar (gimli) Hucek <[email protected]>
Acked-by: Richard Purdie <[email protected]>
--- a/drivers/video/backlight/mbp_nvidia_bl.c.orig 2010-10-26 14:41:15.656640822 +0200
+++ b/drivers/video/backlight/mbp_nvidia_bl.c 2010-10-26 14:42:07.976640822 +0200
@@ -335,6 +335,24 @@
},
.driver_data = (void *)&nvidia_chipset_data,
},
+ {
+ .callback = mbp_dmi_match,
+ .ident = "MacBookAir 3,1",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "MacBookAir3,1"),
+ },
+ .driver_data = (void *)&nvidia_chipset_data,
+ },
+ {
+ .callback = mbp_dmi_match,
+ .ident = "MacBookAir 3,2",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "MacBookAir3,2"),
+ },
+ .driver_data = (void *)&nvidia_chipset_data,
+ },
{ }
};