diff options
author | Jean Delvare <khali@linux-fr.org> | 2011-05-24 20:58:49 +0200 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2011-05-24 20:58:49 +0200 |
commit | 6aa1464d5482cc8f6f026ebb12d94b77a58c823b (patch) | |
tree | 5247c4a88d47177fb5e2ad3e3dbf7304331edbf6 | |
parent | e7198fbf50fd5db4cc9681beed760403f794320d (diff) | |
download | linux-stable-6aa1464d5482cc8f6f026ebb12d94b77a58c823b.tar.gz linux-stable-6aa1464d5482cc8f6f026ebb12d94b77a58c823b.tar.bz2 linux-stable-6aa1464d5482cc8f6f026ebb12d94b77a58c823b.zip |
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>
-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 = { static int __init i2c_i801_init(void) { - input_apanel_init(); + if (dmi_name_in_vendors("FUJITSU")) + input_apanel_init(); return pci_register_driver(&i801_driver); } |