From: Zhao Yakui <yakui.zhao@xxxxxxxxx> weaken the dependency between the I915 driver and ACPI video driver. When the KMS is not enabled in kernel configuration, it will contine the current flowchart. Signed-off-by: Zhao Yakui <yakui.zhao@xxxxxxxxx> cc: Matthew Garrett <mjg59@xxxxxxxxxxxxx> --- drivers/acpi/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6/drivers/acpi/video.c =================================================================== --- linux-2.6.orig/drivers/acpi/video.c 2009-04-14 10:26:30.000000000 +0800 +++ linux-2.6/drivers/acpi/video.c 2009-04-14 10:28:12.000000000 +0800 @@ -2242,7 +2242,7 @@ static int __init intel_opregion_present(void) { -#if defined(CONFIG_DRM_I915) || defined(CONFIG_DRM_I915_MODULE) +#if defined(CONFIG_DRM_I915_KMS) struct pci_dev *dev = NULL; u32 address; -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html