]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitef4b195dc45ff023da8e1a30902b9627adabe5be
tree8fa90b61fd27eb31ac5a2725fa17b7c77a06ab84
parent44f287cd28e75c24180b557fc14a977a09793b59
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