提交 723fe2ca 编写于 作者: L Len Brown

ACPI: ec: enable printk on cmdline use

if somebody uses "ec_intr=", lets be sure to
capture that in the dmesg even in the non-debug case.
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 05a8057b
...@@ -1016,8 +1016,8 @@ static int __init acpi_ec_set_intr_mode(char *str) ...@@ -1016,8 +1016,8 @@ static int __init acpi_ec_set_intr_mode(char *str)
acpi_ec_mode = EC_POLL; acpi_ec_mode = EC_POLL;
} }
acpi_ec_driver.ops.add = acpi_ec_add; acpi_ec_driver.ops.add = acpi_ec_add;
ACPI_DEBUG_PRINT((ACPI_DB_INFO, "EC %s mode.\n", printk(KERN_NOTICE PREFIX "%s mode.\n",
intr ? "interrupt" : "polling")); intr ? "interrupt" : "polling");
return 1; return 1;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册