]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: video: Ignore ACPI video devices that aren't present in hardware
authorMatthew Garrett <mjg59@srcf.ucam.org>
Thu, 7 Feb 2008 01:44:06 +0000 (01:44 +0000)
committerLen Brown <len.brown@intel.com>
Thu, 7 Feb 2008 08:22:57 +0000 (03:22 -0500)
commitc197cd4572feffde1215dd9c4da253974309d6fe
treed5243b920481bd8345c759d3c432160ae76463b5
parent21dacfc550634969d9dcfd8a4c429ba486feeb07
ACPI: video: Ignore ACPI video devices that aren't present in hardware

Vendors often ship machines with a choice of integrated or discrete
graphics, and use the same DSDT for both. As a result, the ACPI video
module will locate devices that may not exist on this specific platform.

Attempt to determine whether the device exists or not, and abort the
device creation if it do not exist.

Signed-off-by: Matthew Garrett <mjg59@srcf.ucam.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/video.c