diff options
author | Thomas Meyer <thomas@m3y3r.de> | 2006-08-27 04:23:33 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-08-27 14:01:29 -0400 |
commit | cb3e0fe3a5dabdc5eda50b825acb23bdfa2d1d55 (patch) | |
tree | 2db123ca328a3850708e7bf863ed3d90b65f8af3 | |
parent | 7fd5aecc5d32882f8e29b14370e9ce2520e7e56f (diff) |
[PATCH] x86: Fix dmi detection of MacBookPro and iMac
Commit b64ef8afa58f397e1eaba2bd9ecaa6812064d464 ("[PATCH] add imacfb
documentation and detection") contained a wrong DMI_MATCH.
Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | drivers/video/imacfb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/imacfb.c b/drivers/video/imacfb.c index b485bece5fc9..18ea4a549105 100644 --- a/drivers/video/imacfb.c +++ b/drivers/video/imacfb.c | |||
@@ -71,10 +71,10 @@ static int set_system(struct dmi_system_id *id) | |||
71 | static struct dmi_system_id __initdata dmi_system_table[] = { | 71 | static struct dmi_system_id __initdata dmi_system_table[] = { |
72 | { set_system, "iMac4,1", { | 72 | { set_system, "iMac4,1", { |
73 | DMI_MATCH(DMI_BIOS_VENDOR,"Apple Computer, Inc."), | 73 | DMI_MATCH(DMI_BIOS_VENDOR,"Apple Computer, Inc."), |
74 | DMI_MATCH(DMI_BIOS_VERSION,"iMac4,1") }, (void*)M_I17}, | 74 | DMI_MATCH(DMI_PRODUCT_NAME,"iMac4,1") }, (void*)M_I17}, |
75 | { set_system, "MacBookPro1,1", { | 75 | { set_system, "MacBookPro1,1", { |
76 | DMI_MATCH(DMI_BIOS_VENDOR,"Apple Computer, Inc."), | 76 | DMI_MATCH(DMI_BIOS_VENDOR,"Apple Computer, Inc."), |
77 | DMI_MATCH(DMI_BIOS_VERSION,"MacBookPro1,1") }, (void*)M_I17}, | 77 | DMI_MATCH(DMI_PRODUCT_NAME,"MacBookPro1,1") }, (void*)M_I17}, |
78 | { set_system, "MacBook1,1", { | 78 | { set_system, "MacBook1,1", { |
79 | DMI_MATCH(DMI_BIOS_VENDOR,"Apple Computer, Inc."), | 79 | DMI_MATCH(DMI_BIOS_VENDOR,"Apple Computer, Inc."), |
80 | DMI_MATCH(DMI_PRODUCT_NAME,"MacBook1,1")}, (void *)M_MACBOOK}, | 80 | DMI_MATCH(DMI_PRODUCT_NAME,"MacBook1,1")}, (void *)M_MACBOOK}, |