]> git.baikalelectronics.ru Git - kernel.git/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)
commit1511d5ddb702add6e166ab45102abb03ff134b4b
treec73dfebf4d1df7ccde64420437f56f0e872fa9c6
parent30de79f43be04bd08fe1bddb6124b2574a6a122c
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