diff options
Diffstat (limited to 'drivers/acpi/internal.h')
-rw-r--r-- | drivers/acpi/internal.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/acpi/internal.h b/drivers/acpi/internal.h index 7de5b603f272..4c5cf77e7576 100644 --- a/drivers/acpi/internal.h +++ b/drivers/acpi/internal.h | |||
@@ -84,8 +84,6 @@ void acpi_init_device_object(struct acpi_device *device, acpi_handle handle, | |||
84 | int type, unsigned long long sta); | 84 | int type, unsigned long long sta); |
85 | void acpi_device_add_finalize(struct acpi_device *device); | 85 | void acpi_device_add_finalize(struct acpi_device *device); |
86 | void acpi_free_pnp_ids(struct acpi_device_pnp *pnp); | 86 | void acpi_free_pnp_ids(struct acpi_device_pnp *pnp); |
87 | int acpi_bind_one(struct device *dev, struct acpi_device *adev); | ||
88 | int acpi_unbind_one(struct device *dev); | ||
89 | bool acpi_device_is_present(struct acpi_device *adev); | 87 | bool acpi_device_is_present(struct acpi_device *adev); |
90 | bool acpi_device_is_battery(struct acpi_device *adev); | 88 | bool acpi_device_is_battery(struct acpi_device *adev); |
91 | 89 | ||
@@ -108,7 +106,12 @@ int acpi_power_transition(struct acpi_device *device, int state); | |||
108 | int acpi_device_update_power(struct acpi_device *device, int *state_p); | 106 | int acpi_device_update_power(struct acpi_device *device, int *state_p); |
109 | 107 | ||
110 | int acpi_wakeup_device_init(void); | 108 | int acpi_wakeup_device_init(void); |
109 | |||
110 | #ifdef CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC | ||
111 | void acpi_early_processor_set_pdc(void); | 111 | void acpi_early_processor_set_pdc(void); |
112 | #else | ||
113 | static inline void acpi_early_processor_set_pdc(void) {} | ||
114 | #endif | ||
112 | 115 | ||
113 | /* -------------------------------------------------------------------------- | 116 | /* -------------------------------------------------------------------------- |
114 | Embedded Controller | 117 | Embedded Controller |