ACPI: video: Ignore devices that aren't present in hardware
authorMatthew Garrett <mjg59@srcf.ucam.org>
Thu, 17 Jan 2008 03:39:36 +0000 (03:39 +0000)
committerLen Brown <len.brown@intel.com>
Sat, 2 Feb 2008 07:15:52 +0000 (02:15 -0500)
commit0119509c4fbc9adcef1472817fda295334612976
tree8fa90b61fd27eb31ac5a2725fa17b7c77a06ab84
parentaa6299926950c8dfe2fea638276cad6def092bc9
ACPI: video: Ignore 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 doesn't.

http://bugzilla.kernel.org/show_bug.cgi?id=9614

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