2010-11-02 07:21:14

by gimli

[permalink] [raw]
Subject: [PATCH 5/6] MacBookAir3,1(3,2) mbp-nvidia-bl support

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]>


Attachments:
mbp_backlight_macbookair.patch (731.00 B)

2010-11-02 17:23:48

by Richard Purdie

[permalink] [raw]
Subject: Re: [PATCH 5/6] MacBookAir3,1(3,2) mbp-nvidia-bl support

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,
+ },
{ }
};