From: Bjorn Helgaas Date: Mon, 21 Sep 2009 19:29:10 +0000 (+0000) Subject: ACPI: save device_type in acpi_device X-Git-Tag: v2.6.32-rc1~18^2~2^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=caaa6efb3d82d0102db9e7094ca5773c46e6780c;p=pandora-kernel.git ACPI: save device_type in acpi_device Most uses of the ACPI bus device_type (ACPI_BUS_TYPE_DEVICE, ACPI_BUS_TYPE_POWER, etc) are during device initialization, but we do need it later for notify handler installation, since that is different for fixed hardware devices vs. namespace devices. This patch saves the device_type in the acpi_device structure, so we can check that rather than comparing against the _HID string. Signed-off-by: Bjorn Helgaas Signed-off-by: Len Brown --- Reading git-diff-tree failed