acpi_drivers.h (953969ddf5b049361ed1e8471cc43dc4134d2a6f) | acpi_drivers.h (c8f7a62cdde461914c6457d5f4362538ed810bf4) |
---|---|
1/* 2 * acpi_drivers.h ($Revision: 31 $) 3 * 4 * Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com> 5 * Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com> 6 * 7 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 * --- 96 unchanged lines hidden (view full) --- 105int acpi_processor_set_thermal_limit(acpi_handle handle, int type); 106 107/* -------------------------------------------------------------------------- 108 Hot Keys 109 -------------------------------------------------------------------------- */ 110 111extern int acpi_specific_hotkey_enabled; 112 | 1/* 2 * acpi_drivers.h ($Revision: 31 $) 3 * 4 * Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com> 5 * Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com> 6 * 7 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 * --- 96 unchanged lines hidden (view full) --- 105int acpi_processor_set_thermal_limit(acpi_handle handle, int type); 106 107/* -------------------------------------------------------------------------- 108 Hot Keys 109 -------------------------------------------------------------------------- */ 110 111extern int acpi_specific_hotkey_enabled; 112 |
113/*-------------------------------------------------------------------------- 114 Dock Station 115 -------------------------------------------------------------------------- */ 116#if defined(CONFIG_ACPI_DOCK) || defined(CONFIG_ACPI_DOCK_MODULE) 117extern int is_dock_device(acpi_handle handle); 118extern int register_dock_notifier(struct notifier_block *nb); 119extern void unregister_dock_notifier(struct notifier_block *nb); 120extern int register_hotplug_dock_device(acpi_handle handle, 121 acpi_notify_handler handler, void *context); 122extern void unregister_hotplug_dock_device(acpi_handle handle); 123#else 124#define is_dock_device(h) (0) 125#define register_dock_notifier(nb) (-ENODEV) 126#define unregister_dock_notifier(nb) do { } while(0) 127#define register_hotplug_dock_device(h1, h2, c) (-ENODEV) 128#define unregister_hotplug_dock_device(h) do { } while(0) 129#endif |
|
113#endif /*__ACPI_DRIVERS_H__*/ | 130#endif /*__ACPI_DRIVERS_H__*/ |