]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: fix synthetic HID for \_SB_
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Mon, 21 Sep 2009 19:35:04 +0000 (13:35 -0600)
committerLen Brown <len.brown@intel.com>
Fri, 25 Sep 2009 18:25:29 +0000 (14:25 -0400)
commitd5fd01e05e154cac006e9df7492ab8e6d3b2dd9b
treecd8e3264d85f7bf57946697384a9fead97b84f44
parentaf5b9b4df4a3b57ccb6de1d60d1359eec0a30b6d
ACPI: fix synthetic HID for \_SB_

This makes \_SB_ show up as /sys/devices/LNXSYSTM:00/LNXSYBUS:00
rather than "device:00".  This has been broken for a loooong time
(at least since 2.6.13) because device->parent is an acpi_device
pointer, not a handle.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/scan.c