Commit 31b4ab3c authored by Adam Belay's avatar Adam Belay

[PNPBIOS] acpi compile fix

Allow PNPBIOS to compile if ACPI support is not enabled.
Signed-off-by: default avatarAdam Belay <ambx1@neo.rr.com>
parent 88e57223
...@@ -538,11 +538,13 @@ int __init pnpbios_init(void) ...@@ -538,11 +538,13 @@ int __init pnpbios_init(void)
return -ENODEV; return -ENODEV;
} }
#ifdef CONFIG_ACPI
if (!acpi_disabled) { if (!acpi_disabled) {
pnpbios_disabled = 1; pnpbios_disabled = 1;
printk(KERN_INFO "PnPBIOS: Disabled by ACPI\n"); printk(KERN_INFO "PnPBIOS: Disabled by ACPI\n");
return -ENODEV; return -ENODEV;
} }
#endif /* CONFIG_ACPI */
/* scan the system for pnpbios support */ /* scan the system for pnpbios support */
if (!pnpbios_probe_system()) if (!pnpbios_probe_system())
......
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