From: Patrick Mochel Date: Thu, 7 Dec 2006 12:56:27 +0000 (+0800) Subject: ACPI: add ACPI bus_type for driver model X-Git-Tag: v2.6.21-rc1~92^2~32^2^2~7^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d9464a46918ced087c351a10f38cee95725f85b;p=pandora-kernel.git ACPI: add ACPI bus_type for driver model Add ACPI bus_type for Linux driver model. 1. .shutdown method is added into acpi_driver.ops needed by bus_type operations. 2. remove useless parameter 'int state' in .resume method. 3. change parameter 'int state' to 'pm_message_t state' in .suspend method. Note: The new .uevent method mark ACPI drivers by PNPID instead of by name. Udev script needs to look for "HWID=" or "COMPTID=" to load ACPI drivers as a result. Signed-off-by: Li Shaohua Signed-off-by: Zhang Rui Signed-off-by: Len Brown --- Reading git-diff-tree failed