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

From: Richard Purdie
Date: Tue Nov 02 2010 - 13:23:51 EST


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 <gimli@xxxxxxxxxxxxxx>

Acked-by: Richard Purdie <rpurdie@xxxxxxxxxxxxxxx>

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


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/