Commit 1e9bd942 authored by Mario Schwalbe's avatar Mario Schwalbe Committed by Richard Purdie

backlight: Add support for new Apple machines.

This patch adds support for the new Apple models MacBook 5,1,
MacBook Pro 5,1, MacBook Pro 5,2, MacBook Pro 5,5. It's just a
device table update.
Signed-off-by: default avatarMario Schwalbe <schwalbe@inf.tu-dresden.de>
Signed-off-by: default avatarRichard Purdie <rpurdie@linux.intel.com>
parent 992ea659
...@@ -182,6 +182,15 @@ static const struct dmi_system_id __initdata mbp_device_table[] = { ...@@ -182,6 +182,15 @@ static const struct dmi_system_id __initdata mbp_device_table[] = {
}, },
.driver_data = (void *)&nvidia_chipset_data, .driver_data = (void *)&nvidia_chipset_data,
}, },
{
.callback = mbp_dmi_match,
.ident = "MacBook 5,2",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
DMI_MATCH(DMI_PRODUCT_NAME, "MacBook5,2"),
},
.driver_data = (void *)&nvidia_chipset_data,
},
{ {
.callback = mbp_dmi_match, .callback = mbp_dmi_match,
.ident = "MacBookAir 2,1", .ident = "MacBookAir 2,1",
...@@ -200,6 +209,24 @@ static const struct dmi_system_id __initdata mbp_device_table[] = { ...@@ -200,6 +209,24 @@ static const struct dmi_system_id __initdata mbp_device_table[] = {
}, },
.driver_data = (void *)&nvidia_chipset_data, .driver_data = (void *)&nvidia_chipset_data,
}, },
{
.callback = mbp_dmi_match,
.ident = "MacBookPro 5,2",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
DMI_MATCH(DMI_PRODUCT_NAME, "MacBookPro5,2"),
},
.driver_data = (void *)&nvidia_chipset_data,
},
{
.callback = mbp_dmi_match,
.ident = "MacBookPro 5,5",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
DMI_MATCH(DMI_PRODUCT_NAME, "MacBookPro5,5"),
},
.driver_data = (void *)&nvidia_chipset_data,
},
{ } { }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment