]> www.pilppa.org Git - linux-2.6-omap-h63xx.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)
commit3fa2cdcc45a0176de15cac9dbf4ed2834ebf8932
treed5243b920481bd8345c759d3c432160ae76463b5
parent863c1490e512db40dab61e44b694a493a9e68b3f
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