From: Zhang Rui Date: Thu, 7 Dec 2006 12:57:10 +0000 (+0800) Subject: ACPI: Set fake hid for non-PNPID ACPI devices X-Git-Tag: v2.6.21-rc1~92^2~32^2^2~7^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae8433324be16673c75951986dcf85f29c090557;p=pandora-kernel.git ACPI: Set fake hid for non-PNPID ACPI devices We do this mainly because: 1. hid is used to match ACPI devices and drivers. .match method which is incompatible to driver model can be deleted from acpi_driver.ops then. 2. As the .uevent method mark ACPI drivers by PNPID, fake hid is set to non-PNPID devices so that udev script can load the right ACPI driver by looking for "HWID = " or "COMPTID = ". Signed-off-by: Zhang Rui Signed-off-by: Len Brown --- Reading git-diff-tree failed