aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/acpi_drivers.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/acpi/acpi_drivers.h')
-rw-r--r--include/acpi/acpi_drivers.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/acpi/acpi_drivers.h b/include/acpi/acpi_drivers.h
index f6275b0e66dd..553515912c0b 100644
--- a/include/acpi/acpi_drivers.h
+++ b/include/acpi/acpi_drivers.h
@@ -113,7 +113,8 @@ extern int is_dock_device(acpi_handle handle);
113extern int register_dock_notifier(struct notifier_block *nb); 113extern int register_dock_notifier(struct notifier_block *nb);
114extern void unregister_dock_notifier(struct notifier_block *nb); 114extern void unregister_dock_notifier(struct notifier_block *nb);
115extern int register_hotplug_dock_device(acpi_handle handle, 115extern int register_hotplug_dock_device(acpi_handle handle,
116 acpi_notify_handler handler, void *context); 116 acpi_notify_handler handler,
117 void *context);
117extern void unregister_hotplug_dock_device(acpi_handle handle); 118extern void unregister_hotplug_dock_device(acpi_handle handle);
118#else 119#else
119static inline int is_dock_device(acpi_handle handle) 120static inline int is_dock_device(acpi_handle handle)
@@ -128,7 +129,8 @@ static inline void unregister_dock_notifier(struct notifier_block *nb)
128{ 129{
129} 130}
130static inline int register_hotplug_dock_device(acpi_handle handle, 131static inline int register_hotplug_dock_device(acpi_handle handle,
131 acpi_notify_handler handler, void *context) 132 acpi_notify_handler handler,
133 void *context)
132{ 134{
133 return -ENODEV; 135 return -ENODEV;
134} 136}