]> err.no Git - linux-2.6/commit
ACPI: Do not pass NULL to acpi_get_handle() when looking for _EJD
authorHolger Macht <hmacht@suse.de>
Thu, 14 Feb 2008 12:40:34 +0000 (13:40 +0100)
committerLen Brown <len.brown@intel.com>
Thu, 21 Feb 2008 12:25:47 +0000 (07:25 -0500)
commit3b5fee5952ff7eb6ff7a64247a01040b8b331b74
treec73dfebf4d1df7ccde64420437f56f0e872fa9c6
parente80af3a8dbbbf431b2070cc760699f01c5a6ac69
ACPI: Do not pass NULL to acpi_get_handle() when looking for _EJD

When trying to get the acpi_handle from an acpi_buffer, pass
ACPI_ROOT_OBJECT instead of NULL to acpi_get_handle(). This fixes the
detection of dock dependent bays.

Signed-off-by: Holger Macht <hmacht@suse.de>
Tested-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/scan.c