diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-04 23:00:54 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-11 09:03:37 -0800 |
commit | 611d6f03ec50fe38c6753ada7ffbed3febb862c1 (patch) | |
tree | 08ab0f210c262f8946ec0fa23d79c15a2919f7a3 /fs/9p/Makefile | |
parent | 42fac8ebfa863c060d2e4613c0a4f8b8fdad8352 (diff) | |
download | lwn-611d6f03ec50fe38c6753ada7ffbed3febb862c1.tar.gz lwn-611d6f03ec50fe38c6753ada7ffbed3febb862c1.zip |
ACPI / scan: Do not use dummy HID for system bus ACPI nodes
commit 4f5f64cf0cc916220aaa055992e31195470cfe37 upstream.
At one point acpi_device_set_id() checks if acpi_device_hid(device)
returns NULL, but that never happens, so system bus devices with an
empty list of PNP IDs are given the dummy HID ("device") instead of
the "system bus HID" ("LNXSYBUS"). Fix the code to use the right
check.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/9p/Makefile')
0 files changed, 0 insertions, 0 deletions