diff options
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/acpi_drivers.h | 30 | ||||
-rw-r--r-- | include/acpi/acpiosxf.h | 6 | ||||
-rw-r--r-- | include/acpi/processor.h | 1 |
3 files changed, 20 insertions, 17 deletions
diff --git a/include/acpi/acpi_drivers.h b/include/acpi/acpi_drivers.h index 4dc8a5043ef0..07a5eb036e96 100644 --- a/include/acpi/acpi_drivers.h +++ b/include/acpi/acpi_drivers.h | |||
@@ -105,12 +105,6 @@ int acpi_ec_ecdt_probe(void); | |||
105 | 105 | ||
106 | int acpi_processor_set_thermal_limit(acpi_handle handle, int type); | 106 | int acpi_processor_set_thermal_limit(acpi_handle handle, int type); |
107 | 107 | ||
108 | /* -------------------------------------------------------------------------- | ||
109 | Hot Keys | ||
110 | -------------------------------------------------------------------------- */ | ||
111 | |||
112 | extern int acpi_specific_hotkey_enabled; | ||
113 | |||
114 | /*-------------------------------------------------------------------------- | 108 | /*-------------------------------------------------------------------------- |
115 | Dock Station | 109 | Dock Station |
116 | -------------------------------------------------------------------------- */ | 110 | -------------------------------------------------------------------------- */ |
@@ -122,10 +116,24 @@ extern int register_hotplug_dock_device(acpi_handle handle, | |||
122 | acpi_notify_handler handler, void *context); | 116 | acpi_notify_handler handler, void *context); |
123 | extern void unregister_hotplug_dock_device(acpi_handle handle); | 117 | extern void unregister_hotplug_dock_device(acpi_handle handle); |
124 | #else | 118 | #else |
125 | #define is_dock_device(h) (0) | 119 | static inline int is_dock_device(acpi_handle handle) |
126 | #define register_dock_notifier(nb) (-ENODEV) | 120 | { |
127 | #define unregister_dock_notifier(nb) do { } while(0) | 121 | return 0; |
128 | #define register_hotplug_dock_device(h1, h2, c) (-ENODEV) | 122 | } |
129 | #define unregister_hotplug_dock_device(h) do { } while(0) | 123 | static inline int register_dock_notifier(struct notifier_block *nb) |
124 | { | ||
125 | return -ENODEV; | ||
126 | } | ||
127 | static inline void unregister_dock_notifier(struct notifier_block *nb) | ||
128 | { | ||
129 | } | ||
130 | static inline int register_hotplug_dock_device(acpi_handle handle, | ||
131 | acpi_notify_handler handler, void *context) | ||
132 | { | ||
133 | return -ENODEV; | ||
134 | } | ||
135 | static inline void unregister_hotplug_dock_device(acpi_handle handle) | ||
136 | { | ||
137 | } | ||
130 | #endif | 138 | #endif |
131 | #endif /*__ACPI_DRIVERS_H__*/ | 139 | #endif /*__ACPI_DRIVERS_H__*/ |
diff --git a/include/acpi/acpiosxf.h b/include/acpi/acpiosxf.h index 781394b9efe0..2785058c82ab 100644 --- a/include/acpi/acpiosxf.h +++ b/include/acpi/acpiosxf.h | |||
@@ -240,12 +240,6 @@ acpi_status | |||
240 | acpi_os_validate_address(u8 space_id, | 240 | acpi_os_validate_address(u8 space_id, |
241 | acpi_physical_address address, acpi_size length); | 241 | acpi_physical_address address, acpi_size length); |
242 | 242 | ||
243 | u8 acpi_os_readable(void *pointer, acpi_size length); | ||
244 | |||
245 | #ifdef ACPI_FUTURE_USAGE | ||
246 | u8 acpi_os_writable(void *pointer, acpi_size length); | ||
247 | #endif | ||
248 | |||
249 | u64 acpi_os_get_timer(void); | 243 | u64 acpi_os_get_timer(void); |
250 | 244 | ||
251 | acpi_status acpi_os_signal(u32 function, void *info); | 245 | acpi_status acpi_os_signal(u32 function, void *info); |
diff --git a/include/acpi/processor.h b/include/acpi/processor.h index 7798d2a9f793..916c0102db5b 100644 --- a/include/acpi/processor.h +++ b/include/acpi/processor.h | |||
@@ -79,6 +79,7 @@ struct acpi_processor_power { | |||
79 | u32 bm_activity; | 79 | u32 bm_activity; |
80 | int count; | 80 | int count; |
81 | struct acpi_processor_cx states[ACPI_PROCESSOR_MAX_POWER]; | 81 | struct acpi_processor_cx states[ACPI_PROCESSOR_MAX_POWER]; |
82 | int timer_broadcast_on_state; | ||
82 | }; | 83 | }; |
83 | 84 | ||
84 | /* Performance Management */ | 85 | /* Performance Management */ |