提交 6aa1464d 编写于 作者: J Jean Delvare 提交者: Jean Delvare

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: NJean Delvare <khali@linux-fr.org>
上级 e7198fbf
...@@ -931,7 +931,8 @@ static struct pci_driver i801_driver = { ...@@ -931,7 +931,8 @@ static struct pci_driver i801_driver = {
static int __init i2c_i801_init(void) 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); return pci_register_driver(&i801_driver);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册