All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] backlight: mbp_nvidia_bl - add support for MacBookPro7,1
@ 2010-11-04  0:32 Mourad De Clerck
  0 siblings, 0 replies; only message in thread
From: Mourad De Clerck @ 2010-11-04  0:32 UTC (permalink / raw)
  To: Richard Purdie; +Cc: Mario Schwalbe, Matthew Garrett, linux-kernel

Add support for the MacBook Pro 7,1 (13" mid 2010)

Signed-off-by: Mourad De Clerck <mourad@aquazul.com>
---
 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,
+	},
 	{ }
 };
 


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-11-04  0:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-04  0:32 [PATCH] backlight: mbp_nvidia_bl - add support for MacBookPro7,1 Mourad De Clerck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.