Message ID | 1239678345.5564.69.camel@localhost.localdomain (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
On Tue, Apr 14, 2009 at 11:05:45AM +0800, yakui_zhao wrote: > From: Zhao Yakui <yakui.zhao@intel.com> > > 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@intel.com> > cc: Matthew Garrett <mjg59@srcf.ucam.org> Acked-by: Matthew Garrett <mjg@redhat.com>
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;