Commit f710ef2d authored by Len Brown's avatar Len Brown Committed by Len Brown

[ACPI] disable PNPBIOS if ACPI, even without PNPACPI

Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent da88df48
......@@ -531,11 +531,11 @@ int __init pnpbios_init(void)
{
int ret;
/* Don't use pnpbios if pnpacpi is used */
#ifdef CONFIG_PNPACPI
/* Don't use pnpbios if ACPI is enabled */
#ifdef CONFIG_ACPI
if (!acpi_disabled) {
pnpbios_disabled = 1;
printk(KERN_INFO "PnPBIOS: Disabled by pnpacpi\n");
printk(KERN_INFO "PnPBIOS: Disabled by ACPI\n");
return -ENODEV;
}
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment