aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi
diff options
context:
space:
mode:
Diffstat (limited to 'include/acpi')
-rw-r--r--include/acpi/acpi_drivers.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/include/acpi/acpi_drivers.h b/include/acpi/acpi_drivers.h
index d6c98b9cbe38..d504613bbf80 100644
--- a/include/acpi/acpi_drivers.h
+++ b/include/acpi/acpi_drivers.h
@@ -109,36 +109,14 @@ void pci_acpi_crs_quirks(void);
109/*-------------------------------------------------------------------------- 109/*--------------------------------------------------------------------------
110 Dock Station 110 Dock Station
111 -------------------------------------------------------------------------- */ 111 -------------------------------------------------------------------------- */
112struct acpi_dock_ops {
113 acpi_notify_handler fixup;
114 acpi_notify_handler handler;
115 acpi_notify_handler uevent;
116};
117 112
118#ifdef CONFIG_ACPI_DOCK 113#ifdef CONFIG_ACPI_DOCK
119extern int is_dock_device(struct acpi_device *adev); 114extern int is_dock_device(struct acpi_device *adev);
120extern int register_hotplug_dock_device(acpi_handle handle,
121 const struct acpi_dock_ops *ops,
122 void *context,
123 void (*init)(void *),
124 void (*release)(void *));
125extern void unregister_hotplug_dock_device(acpi_handle handle);
126#else 115#else
127static inline int is_dock_device(struct acpi_device *adev) 116static inline int is_dock_device(struct acpi_device *adev)
128{ 117{
129 return 0; 118 return 0;
130} 119}
131static inline int register_hotplug_dock_device(acpi_handle handle,
132 const struct acpi_dock_ops *ops,
133 void *context,
134 void (*init)(void *),
135 void (*release)(void *))
136{
137 return -ENODEV;
138}
139static inline void unregister_hotplug_dock_device(acpi_handle handle)
140{
141}
142#endif /* CONFIG_ACPI_DOCK */ 120#endif /* CONFIG_ACPI_DOCK */
143 121
144#endif /*__ACPI_DRIVERS_H__*/ 122#endif /*__ACPI_DRIVERS_H__*/