mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 5/6] MacBookAir3,1(3,2) mbp-nvidia-bl support
@ 2010-11-02  7:21 gimli
  2010-11-02 17:02 ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: gimli @ 2010-11-02  7:21 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 152 bytes --]

This patch add support for the MacBookAir3,1 and MacBookAir3,2 to the
mbp-nvidia-bl driver.

Signed-off-by: Edgar (gimli) Hucek <gimli@dark-green.com>


[-- Attachment #2: mbp_backlight_macbookair.patch --]
[-- Type: text/plain, Size: 731 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-02 17:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-02  7:21 [PATCH 5/6] MacBookAir3,1(3,2) mbp-nvidia-bl support gimli
2010-11-02 17:02 ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome