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>
This commit is contained in:
committed by
Jean Delvare
parent
e7198fbf50
commit
6aa1464d54
@@ -931,6 +931,7 @@ static struct pci_driver i801_driver = {
|
|||||||
|
|
||||||
static int __init i2c_i801_init(void)
|
static int __init i2c_i801_init(void)
|
||||||
{
|
{
|
||||||
|
if (dmi_name_in_vendors("FUJITSU"))
|
||||||
input_apanel_init();
|
input_apanel_init();
|
||||||
return pci_register_driver(&i801_driver);
|
return pci_register_driver(&i801_driver);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user