diff options
Diffstat (limited to 'drivers/acpi/internal.h')
-rw-r--r-- | drivers/acpi/internal.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/drivers/acpi/internal.h b/drivers/acpi/internal.h index ca75b9ce0489..3c407cdc1ec1 100644 --- a/drivers/acpi/internal.h +++ b/drivers/acpi/internal.h | |||
@@ -58,11 +58,11 @@ struct acpi_ec { | |||
58 | unsigned long data_addr; | 58 | unsigned long data_addr; |
59 | unsigned long global_lock; | 59 | unsigned long global_lock; |
60 | unsigned long flags; | 60 | unsigned long flags; |
61 | struct mutex lock; | 61 | struct mutex mutex; |
62 | wait_queue_head_t wait; | 62 | wait_queue_head_t wait; |
63 | struct list_head list; | 63 | struct list_head list; |
64 | struct transaction *curr; | 64 | struct transaction *curr; |
65 | spinlock_t curr_lock; | 65 | spinlock_t lock; |
66 | }; | 66 | }; |
67 | 67 | ||
68 | extern struct acpi_ec *first_ec; | 68 | extern struct acpi_ec *first_ec; |
@@ -93,4 +93,11 @@ static inline int suspend_nvs_save(void) { return 0; } | |||
93 | static inline void suspend_nvs_restore(void) {} | 93 | static inline void suspend_nvs_restore(void) {} |
94 | #endif | 94 | #endif |
95 | 95 | ||
96 | /*-------------------------------------------------------------------------- | ||
97 | Platform bus support | ||
98 | -------------------------------------------------------------------------- */ | ||
99 | struct platform_device; | ||
100 | |||
101 | struct platform_device *acpi_create_platform_device(struct acpi_device *adev); | ||
102 | |||
96 | #endif /* _ACPI_INTERNAL_H_ */ | 103 | #endif /* _ACPI_INTERNAL_H_ */ |