diff options
Diffstat (limited to 'include/acpi/acpi_drivers.h')
| -rw-r--r-- | include/acpi/acpi_drivers.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/acpi/acpi_drivers.h b/include/acpi/acpi_drivers.h index f6275b0e66..553515912c 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); | |||
| 113 | extern int register_dock_notifier(struct notifier_block *nb); | 113 | extern int register_dock_notifier(struct notifier_block *nb); |
| 114 | extern void unregister_dock_notifier(struct notifier_block *nb); | 114 | extern void unregister_dock_notifier(struct notifier_block *nb); |
| 115 | extern int register_hotplug_dock_device(acpi_handle handle, | 115 | extern int register_hotplug_dock_device(acpi_handle handle, |
| 116 | acpi_notify_handler handler, void *context); | 116 | acpi_notify_handler handler, |
| 117 | void *context); | ||
| 117 | extern void unregister_hotplug_dock_device(acpi_handle handle); | 118 | extern void unregister_hotplug_dock_device(acpi_handle handle); |
| 118 | #else | 119 | #else |
| 119 | static inline int is_dock_device(acpi_handle handle) | 120 | static 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 | } |
| 130 | static inline int register_hotplug_dock_device(acpi_handle handle, | 131 | static 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 | } |
