Re: [PATCH,RESEND] backlight: mbp_nvidia_bl - add support forMacBookPro7,1

From: Andrew Morton
Date: Tue Jan 04 2011 - 17:38:01 EST


On Fri, 24 Dec 2010 09:49:57 +0100
Mourad De Clerck <mourad@xxxxxxxxxxx> wrote:

> Add support for the MacBookPro7,1 (13" mid 2010) to the mbp_nvidia_bl
> driver.
>
> Signed-off-by: Mourad De Clerck <mourad@xxxxxxxxxxx>
> ---
> drivers/video/backlight/mbp_nvidia_bl.c | 9 +++++++++
> 1 files changed, 9 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/video/backlight/mbp_nvidia_bl.c
> b/drivers/video/backlight/mbp_nvidia_bl.c
> index 9fb533f..9c44314 100644
> --- a/drivers/video/backlight/mbp_nvidia_bl.c
> +++ b/drivers/video/backlight/mbp_nvidia_bl.c
> @@ -335,6 +335,15 @@ static const struct dmi_system_id __initdata
> mbp_device_table[] = {
> },
> .driver_data = (void *)&nvidia_chipset_data,
> },
> + {
> + .callback = mbp_dmi_match,
> + .ident = "MacBookPro 7,1",
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
> + DMI_MATCH(DMI_PRODUCT_NAME, "MacBookPro7,1"),
> + },
> + .driver_data = (void *)&nvidia_chipset_data,
> + },
> { }
> };

I applied this, and now I'll unapply it because Matthew's patch series
"mbp_nvidia_bl: Remove DMI dependency" appears to make your change
obsolete.

I'll cc you on those three patches - it will be great if you are able
to find time to test them, thanks.

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