aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/acpi_bus.h
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@linux.intel.com>2006-12-07 07:56:38 -0500
committerLen Brown <len.brown@intel.com>2006-12-15 23:38:34 -0500
commitf883d9db008deb20d4969c26475100cec2b7f6f8 (patch)
tree4d66f2bf9f0a6142685870177e26837fc510f9e1 /include/acpi/acpi_bus.h
parenta7178df5e7e5730e5daa6cf6d8b8bf73adbe75c0 (diff)
ACPI: convert to sysfs framework
Setup new sysfs framework 1. Remove /sys/firmware/acpi 2. Add ACPI device in device tree. File "eject" for every device that has _EJ0 method is moved from /sys/firmware to /sys/devices. Operation on this file is exactly the same as before. i.e. echo 1 to "eject" will cause hot removal of this device. Corresponding changes should be made in userspace for hot removal. Signed-off-by: Li Shaohua <shaohua.li@intel.com> Signed-off-by: Zhang Rui<rui.zhang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/acpi_bus.h')
-rw-r--r--include/acpi/acpi_bus.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h
index 807acf69a704..598fab352814 100644
--- a/include/acpi/acpi_bus.h
+++ b/include/acpi/acpi_bus.h
@@ -299,7 +299,6 @@ struct acpi_device {
299 struct acpi_device_ops ops; 299 struct acpi_device_ops ops;
300 struct acpi_driver *driver; 300 struct acpi_driver *driver;
301 void *driver_data; 301 void *driver_data;
302 struct kobject kobj;
303 struct device dev; 302 struct device dev;
304}; 303};
305 304