aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2009-04-05 01:38:51 -0400
committerLen Brown <len.brown@intel.com>2009-04-05 01:38:51 -0400
commit493837009665a5ea1d91ed5fe4bab0ed546cae86 (patch)
treede73923763862e145949b57249b1472446009fec /include/acpi
parente857b33d1879fc4284e3151222eee2415c1de88a (diff)
parent8308e8ab70fd5d7b78afb133c51c5079548ba84f (diff)
Merge branch 'driver-ops-cleanup' into release
Diffstat (limited to 'include/acpi')
-rw-r--r--include/acpi/acpi_bus.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h
index e9f6574930ef..08ec60c8366a 100644
--- a/include/acpi/acpi_bus.h
+++ b/include/acpi/acpi_bus.h
@@ -88,44 +88,28 @@ struct acpi_device;
88 88
89typedef int (*acpi_op_add) (struct acpi_device * device); 89typedef int (*acpi_op_add) (struct acpi_device * device);
90typedef int (*acpi_op_remove) (struct acpi_device * device, int type); 90typedef int (*acpi_op_remove) (struct acpi_device * device, int type);
91typedef int (*acpi_op_lock) (struct acpi_device * device, int type);
92typedef int (*acpi_op_start) (struct acpi_device * device); 91typedef int (*acpi_op_start) (struct acpi_device * device);
93typedef int (*acpi_op_stop) (struct acpi_device * device, int type); 92typedef int (*acpi_op_stop) (struct acpi_device * device, int type);
94typedef int (*acpi_op_suspend) (struct acpi_device * device, 93typedef int (*acpi_op_suspend) (struct acpi_device * device,
95 pm_message_t state); 94 pm_message_t state);
96typedef int (*acpi_op_resume) (struct acpi_device * device); 95typedef int (*acpi_op_resume) (struct acpi_device * device);
97typedef int (*acpi_op_scan) (struct acpi_device * device);
98typedef int (*acpi_op_bind) (struct acpi_device * device); 96typedef int (*acpi_op_bind) (struct acpi_device * device);
99typedef int (*acpi_op_unbind) (struct acpi_device * device); 97typedef int (*acpi_op_unbind) (struct acpi_device * device);
100typedef int (*acpi_op_shutdown) (struct acpi_device * device);
101 98
102struct acpi_bus_ops { 99struct acpi_bus_ops {
103 u32 acpi_op_add:1; 100 u32 acpi_op_add:1;
104 u32 acpi_op_remove:1;
105 u32 acpi_op_lock:1;
106 u32 acpi_op_start:1; 101 u32 acpi_op_start:1;
107 u32 acpi_op_stop:1;
108 u32 acpi_op_suspend:1;
109 u32 acpi_op_resume:1;
110 u32 acpi_op_scan:1;
111 u32 acpi_op_bind:1;
112 u32 acpi_op_unbind:1;
113 u32 acpi_op_shutdown:1;
114 u32 reserved:21;
115}; 102};
116 103
117struct acpi_device_ops { 104struct acpi_device_ops {
118 acpi_op_add add; 105 acpi_op_add add;
119 acpi_op_remove remove; 106 acpi_op_remove remove;
120 acpi_op_lock lock;
121 acpi_op_start start; 107 acpi_op_start start;
122 acpi_op_stop stop; 108 acpi_op_stop stop;
123 acpi_op_suspend suspend; 109 acpi_op_suspend suspend;
124 acpi_op_resume resume; 110 acpi_op_resume resume;
125 acpi_op_scan scan;
126 acpi_op_bind bind; 111 acpi_op_bind bind;
127 acpi_op_unbind unbind; 112 acpi_op_unbind unbind;
128 acpi_op_shutdown shutdown;
129}; 113};
130 114
131struct acpi_driver { 115struct acpi_driver {