Re: [PATCH] PnP Fixes for 2.6.10-rc1

From: Adam Belay
Date: Sun Oct 24 2004 - 23:55:57 EST


# 2004/10/24 23:42:57-04:00 ambx1@xxxxxxxxxx
# [PNPBIOS] acpi compile fix
#
# Allow PNPBIOS to compile if ACPI support is not enabled.
#
# Signed-off-by: Adam Belay <ambx1@xxxxxxxxxx>

diff -Nru a/drivers/pnp/pnpbios/core.c b/drivers/pnp/pnpbios/core.c
--- a/drivers/pnp/pnpbios/core.c 2004-10-25 00:08:09 -04:00
+++ b/drivers/pnp/pnpbios/core.c 2004-10-25 00:08:09 -04:00
@@ -538,11 +538,13 @@
return -ENODEV;
}

+#ifdef CONFIG_ACPI
if (!acpi_disabled) {
pnpbios_disabled = 1;
printk(KERN_INFO "PnPBIOS: Disabled by ACPI\n");
return -ENODEV;
}
+#endif /* CONFIG_ACPI */

/* scan the system for pnpbios support */
if (!pnpbios_probe_system())
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/