diff options
author | Hanjun Guo <hanjun.guo@linaro.org> | 2014-02-08 07:46:26 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-02-18 18:31:36 -0500 |
commit | 1606484ec1f5ee3315a4ff4a80504c3908c60023 (patch) | |
tree | ea26e18c9e02b9ac3f103d1dc4331e9f310c7988 /drivers/acpi | |
parent | 6d0abeca3242a88cab8232e4acd7e2bf088f3bc2 (diff) |
ACPI / processor: Fix acpi_processor_eval_pdc() return value type
The return value type of acpi_processor_eval_pdc() should be
'acpi_status' but is defined as 'int', so fix it.
Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/processor_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_core.c index a4eea9a508d3..0bbf5289abeb 100644 --- a/drivers/acpi/processor_core.c +++ b/drivers/acpi/processor_core.c | |||
@@ -323,7 +323,7 @@ static struct acpi_object_list *acpi_processor_alloc_pdc(void) | |||
323 | * _PDC is required for a BIOS-OS handshake for most of the newer | 323 | * _PDC is required for a BIOS-OS handshake for most of the newer |
324 | * ACPI processor features. | 324 | * ACPI processor features. |
325 | */ | 325 | */ |
326 | static int | 326 | static acpi_status |
327 | acpi_processor_eval_pdc(acpi_handle handle, struct acpi_object_list *pdc_in) | 327 | acpi_processor_eval_pdc(acpi_handle handle, struct acpi_object_list *pdc_in) |
328 | { | 328 | { |
329 | acpi_status status = AE_OK; | 329 | acpi_status status = AE_OK; |