ACPI / processor: Fix acpi_processor_eval_pdc() return value type
authorHanjun Guo <hanjun.guo@linaro.org>
Sat, 8 Feb 2014 12:46:26 +0000 (20:46 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 18 Feb 2014 23:31:36 +0000 (00:31 +0100)
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>
drivers/acpi/processor_core.c

index a4eea9a508d3efd977fe97563b967b776a49a084..0bbf5289abeb2d9269eb383fe0b2dbd2e6cb8f19 100644 (file)
@@ -323,7 +323,7 @@ static struct acpi_object_list *acpi_processor_alloc_pdc(void)
  * _PDC is required for a BIOS-OS handshake for most of the newer
  * ACPI processor features.
  */
-static int
+static acpi_status
 acpi_processor_eval_pdc(acpi_handle handle, struct acpi_object_list *pdc_in)
 {
        acpi_status status = AE_OK;