diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2009-09-21 19:29:10 +0000 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-09-25 14:24:25 -0400 |
commit | caaa6efb3d82d0102db9e7094ca5773c46e6780c (patch) | |
tree | 43e7cdc207c3f9b091bfbd638d4e98fe81a5a113 /drivers/net/ewrk3.h | |
parent | 66b7ed40aaf153d634aabff409a0dda675f37f45 (diff) |
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 <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/net/ewrk3.h')
0 files changed, 0 insertions, 0 deletions