Subject: [PATCH] [ACPI] Add basic device and driver definitions - Create include/acpi/device.h. - Add definitions for struct acpi_dev and struct acpi_device_driver (the building blocks for new ACPI drivers). Signed-off-by: Patrick Mochel --- include/acpi/device.h | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) create mode 100644 include/acpi/device.h applies-to: 40ed8882ca1de953e9a314dde474f90fa84d6868 b674595e171991f42f85d518c24271aa482d3157 diff --git a/include/acpi/device.h b/include/acpi/device.h new file mode 100644 index 0000000..e5c2751 --- /dev/null +++ b/include/acpi/device.h @@ -0,0 +1,23 @@ + +#ifndef _INCLUDE_ACPI_DEVICE_ +#define _INCLUDE_ACPI_DEVICE_ + +#include +#include + + +struct acpi_dev { + struct acpi_device * acpi_device; + struct device dev; +}; + + +struct acpi_device_driver { + const char ** d_ids; + const u32 d_num_ids; + + struct device_driver d_drv; +}; + + +#endif /* _INCLUDE_ACPI_DEVICE_ */ --- 0.99.9.GIT