提交 b20d2aeb 编写于 作者: L Len Brown

ACPI: skip smart battery init when acpi=off

Signed-off-by: NLen Brown <len.brown@intel.com>
上级 4d8316d5
......@@ -1714,6 +1714,9 @@ static int __init acpi_sbs_init(void)
{
int result = 0;
if (acpi_disabled)
return -ENODEV;
init_MUTEX(&sbs_sem);
if (capacity_mode != DEF_CAPACITY_UNIT
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册