]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: fix a regression of ACPI device driver autoloading
authorZhang Rui <rui.zhang@intel.com>
Thu, 20 Mar 2008 08:40:32 +0000 (16:40 +0800)
committerLen Brown <len.brown@intel.com>
Wed, 26 Mar 2008 02:48:37 +0000 (22:48 -0400)
commit5b15f017f6ee86a8c57f9b8fbabf87d599578c63
tree88f982727fab5e76f6acee2df9657e9b9cbf991b
parente77f38ed5d10130bb9eb2459a71233db03c4154c
ACPI: fix a regression of ACPI device driver autoloading

commit df6e11108e571f93de185819ee0388668a55ed32 sets the cid of
ACPI video/dock/bay device and leaves the hid empty.
As a result, "modalias" should export the cid for
devices which don't have a hid.

ACPI Video driver is not autoloaded with
commit df6e11108e571f93de185819ee0388668a55ed32 applied.
"cat /sys/.../device:03(acpi video bus)/modalias" shows nothing.

ACPI Video driver is autoloaded after revert that commit.
"cat /sys/.../LNXVIDEO:0x/modalias" shows "acpi:LNXVIDEO:"

ACPI Video driver is autoloaded with commit
df6e11108e571f93de185819ee0388668a55ed32 and this patch applied.
"cat /sys/.../device:03(acpi video bus)/modalias"
shows "acpi:LNXVIDEO:"

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Acked-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/scan.c