diff options
author | Jean Delvare <khali@linux-fr.org> | 2011-05-24 14:58:49 -0400 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2011-05-24 14:58:49 -0400 |
commit | 6aa1464d5482cc8f6f026ebb12d94b77a58c823b (patch) | |
tree | 5247c4a88d47177fb5e2ad3e3dbf7304331edbf6 /drivers/i2c/busses/i2c-i801.c | |
parent | e7198fbf50fd5db4cc9681beed760403f794320d (diff) |
i2c-i801: Check for vendor Fujitsu before probing for apanel
Scanning the BIOS memory for the apanel information is costly, so
avoid doing it on non-Fujitsu machines.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-i801.c')
-rw-r--r-- | drivers/i2c/busses/i2c-i801.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c index 4228691ffde8..1aa5be019cfc 100644 --- a/drivers/i2c/busses/i2c-i801.c +++ b/drivers/i2c/busses/i2c-i801.c | |||
@@ -931,7 +931,8 @@ static struct pci_driver i801_driver = { | |||
931 | 931 | ||
932 | static int __init i2c_i801_init(void) | 932 | static int __init i2c_i801_init(void) |
933 | { | 933 | { |
934 | input_apanel_init(); | 934 | if (dmi_name_in_vendors("FUJITSU")) |
935 | input_apanel_init(); | ||
935 | return pci_register_driver(&i801_driver); | 936 | return pci_register_driver(&i801_driver); |
936 | } | 937 | } |
937 | 938 | ||