mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 4/4] MacbookAir3,1 and 3,2 backlight support
@ 2010-10-26 13:08 gimli
  0 siblings, 0 replies; only message in thread
From: gimli @ 2010-10-26 13:08 UTC (permalink / raw)
  To: linux-kernel

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

This patch adds support for the new MacBookAir3,1 and 3,2 to the
mpb_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] only message in thread

only message in thread, other threads:[~2010-10-26 13:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-26 13:08 [PATCH 4/4] MacbookAir3,1 and 3,2 backlight support gimli

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

all inboxes | Powered by JetHome®