diff options
Diffstat (limited to 'drivers/acpi/internal.h')
-rw-r--r-- | drivers/acpi/internal.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/acpi/internal.h b/drivers/acpi/internal.h index 163e82f536fa..56b321aa2b1c 100644 --- a/drivers/acpi/internal.h +++ b/drivers/acpi/internal.h | |||
@@ -35,6 +35,13 @@ void acpi_int340x_thermal_init(void); | |||
35 | int acpi_sysfs_init(void); | 35 | int acpi_sysfs_init(void); |
36 | void acpi_container_init(void); | 36 | void acpi_container_init(void); |
37 | void acpi_memory_hotplug_init(void); | 37 | void acpi_memory_hotplug_init(void); |
38 | #ifdef CONFIG_ACPI_HOTPLUG_IOAPIC | ||
39 | int acpi_ioapic_add(struct acpi_pci_root *root); | ||
40 | int acpi_ioapic_remove(struct acpi_pci_root *root); | ||
41 | #else | ||
42 | static inline int acpi_ioapic_add(struct acpi_pci_root *root) { return 0; } | ||
43 | static inline int acpi_ioapic_remove(struct acpi_pci_root *root) { return 0; } | ||
44 | #endif | ||
38 | #ifdef CONFIG_ACPI_DOCK | 45 | #ifdef CONFIG_ACPI_DOCK |
39 | void register_dock_dependent_device(struct acpi_device *adev, | 46 | void register_dock_dependent_device(struct acpi_device *adev, |
40 | acpi_handle dshandle); | 47 | acpi_handle dshandle); |
@@ -68,6 +75,8 @@ static inline void acpi_debugfs_init(void) { return; } | |||
68 | #endif | 75 | #endif |
69 | void acpi_lpss_init(void); | 76 | void acpi_lpss_init(void); |
70 | 77 | ||
78 | void acpi_apd_init(void); | ||
79 | |||
71 | acpi_status acpi_hotplug_schedule(struct acpi_device *adev, u32 src); | 80 | acpi_status acpi_hotplug_schedule(struct acpi_device *adev, u32 src); |
72 | bool acpi_queue_hotplug_work(struct work_struct *work); | 81 | bool acpi_queue_hotplug_work(struct work_struct *work); |
73 | void acpi_device_hotplug(struct acpi_device *adev, u32 src); | 82 | void acpi_device_hotplug(struct acpi_device *adev, u32 src); |
@@ -122,11 +131,13 @@ struct acpi_ec { | |||
122 | unsigned long data_addr; | 131 | unsigned long data_addr; |
123 | unsigned long global_lock; | 132 | unsigned long global_lock; |
124 | unsigned long flags; | 133 | unsigned long flags; |
134 | unsigned long reference_count; | ||
125 | struct mutex mutex; | 135 | struct mutex mutex; |
126 | wait_queue_head_t wait; | 136 | wait_queue_head_t wait; |
127 | struct list_head list; | 137 | struct list_head list; |
128 | struct transaction *curr; | 138 | struct transaction *curr; |
129 | spinlock_t lock; | 139 | spinlock_t lock; |
140 | struct work_struct work; | ||
130 | }; | 141 | }; |
131 | 142 | ||
132 | extern struct acpi_ec *first_ec; | 143 | extern struct acpi_ec *first_ec; |