ACPI: Set fake hid for non-PNPID ACPI devices
authorZhang Rui <rui.zhang@intel.com>
Thu, 7 Dec 2006 12:57:10 +0000 (20:57 +0800)
committerLen Brown <len.brown@intel.com>
Sat, 16 Dec 2006 04:38:35 +0000 (23:38 -0500)
commitae8433324be16673c75951986dcf85f29c090557
treec762438e6d685f3f106a5c2bc9fc93246bfb47ff
parentdb3e1cc3257758d8a694d0a6ab29f109fb019853
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 <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/pci_bind.c
drivers/acpi/scan.c
drivers/acpi/video.c
include/acpi/acpi_bus.h
include/acpi/acpi_drivers.h